.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  height: 72px;
}
.header::after {
  display: none;
}

.header__inner {
  height: 100%;
}

.logo {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  gap: 12px;
}
/* .logo::before {
  display: none;
} */
.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
}
.logo-subtitle {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.nav {
  gap: 6px;
  background: #f8fafc;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.nav__item {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: #64748b;
  font-size: 0.925rem;
  position: relative;
  overflow: hidden;
}
.nav__item:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.03);
}
.nav__item--active {
  color: #2563eb !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.nav__item--active::after {
  display: none;
}

.nav__item--special {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.1) !important;
}
.nav__item--special:hover {
  background: rgba(37, 99, 235, 0.15) !important;
}

.user-actions .btn {
  border-radius: 8px;
  font-weight: 600;
}

/* Region Switcher */
.header-left {
  display: flex;
  align-items: center;
  height: 100%;
}

.region-switcher {
  margin-left: 48px;
  margin-right: 24px;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.region-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #606266;
  font-size: 14px;
  padding: 6px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  transition: all 0.3s;
}

.region-toggle:hover {
  border-color: #409eff;
  color: #409eff;
  background: #ecf5ff;
}

.region-menu-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 5px;
  z-index: 2000;
}

.region-menu-content {
  background: white;
  border: 1px solid #ebeef5;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 6px 0;
  min-width: 120px;
  max-height: 300px;
  overflow-y: auto;
}

.region-item {
  padding: 8px 20px;
  color: #606266;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.region-item:hover,
.region-item.active {
  background-color: #f5f7fa;
  color: #409eff;
}

/* Auth Links */
.login-link {
  color: #606266;
  font-size: 14px;
  margin-right: 16px;
  text-decoration: none;
  transition: color 0.3s;
}

.login-link:hover {
  color: #409eff;
}

.register-btn {
  display: inline-block;
  padding: 8px 24px;
  background: #409eff;
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
  box-shadow: 0 2px 6px rgba(64, 158, 255, 0.3);
}

.register-btn:hover {
  background: #66b1ff;
}
