.auth-container {
      min-height: calc(100vh - 120px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 3rem 1.5rem;
      position: relative;
      z-index: 1;
    }
    .auth-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 2.5rem;
      max-width: 440px;
      width: 100%;
      box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }
    .auth-header {
      text-align: center;
      margin-bottom: 2rem;
    }
    .auth-header img {
      width: 65px;
      height: 65px;
      object-fit: contain;
      border-radius: 50%;
      background: #ffffff;
      padding: 3px;
      margin-bottom: 0.8rem;
      box-shadow: 0 0 18px rgba(37, 99, 235, 0.35);
    }
    .auth-header h1 {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 0.25rem;
    }
    .auth-header p {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .auth-tabs {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
      padding-bottom: 0.75rem;
    }
    .auth-tab {
      flex: 1;
      padding: 0.5rem;
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-weight: 700;
      font-size: 0.85rem;
      cursor: pointer;
      border-radius: 6px;
      transition: all 0.2s;
    }
    .auth-tab.active {
      color: var(--blue-light);
      background: rgba(37, 99, 235, 0.15);
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      margin-bottom: 1.1rem;
    }
    .form-group label {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--blue-light);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    [data-theme='light'] .form-group label {
      color: #1e3a8a !important;
    }
    .form-group input,
    .form-group select {
      background: rgba(255, 255, 255, 0.05);
      border: 1.5px solid rgba(59, 130, 246, 0.25);
      border-radius: 8px;
      padding: 0.65rem 0.85rem;
      color: var(--text-main);
      font-size: 0.88rem;
      outline: none;
      transition: border-color 0.2s;
      width: 100%;
    }
    .form-group input:focus,
    .form-group select:focus {
      border-color: var(--blue-main);
    }
    .form-group select option {
      background: #1e293b;
      color: var(--text-main);
    }

    .demo-creds {
      background: rgba(37, 99, 235, 0.08);
      border: 1px dashed rgba(59, 130, 246, 0.35);
      border-radius: 8px;
      padding: 0.75rem;
      margin-top: 1.25rem;
      font-size: 0.74rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .demo-creds strong {
      color: var(--blue-light);
    }

    .error-msg {
      background: rgba(239, 68, 68, 0.15);
      border: 1px solid rgba(239, 68, 68, 0.35);
      color: #fca5a5;
      padding: 0.6rem 0.8rem;
      border-radius: 6px;
      font-size: 0.78rem;
      margin-bottom: 1rem;
      display: none;
    }

    .password-wrap {
      position: relative;
      display: flex;
      align-items: center;
      width: 100%;
    }
    .password-wrap input {
      padding-right: 4.2rem !important;
    }
    .btn-toggle-pw {
      position: absolute;
      right: 8px;
      background: rgba(37, 99, 235, 0.15);
      border: 1px solid rgba(59, 130, 246, 0.35);
      color: var(--blue-light);
      border-radius: 6px;
      padding: 0.25rem 0.6rem;
      font-size: 0.72rem;
      font-weight: 700;
      cursor: pointer;
      user-select: none;
      transition: all 0.2s;
    }
    .btn-toggle-pw:hover {
      background: rgba(37, 99, 235, 0.25);
    }

.password-requirements {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

.password-requirements li::before {
  content: '○';
  display: inline-block;
  width: 1.2rem;
  color: var(--text-muted);
  font-weight: 700;
}

.password-requirements li.satisfied {
  color: #4ade80;
}

.password-requirements li.satisfied::before {
  content: '✓';
  color: #4ade80;
}

#registerSubmit:disabled {
  cursor: not-allowed !important;
  opacity: 0.55;
}
