/* Tax Suite login — full-width split layout */

.auth-body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
}

.auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-bg {
  display: none;
}

.auth-shell {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.auth-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  width: 100%;
  flex: 1;
  min-height: 100vh;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
}

/* ── Left brand panel ── */
.auth-brand {
  position: relative;
  background: linear-gradient(160deg, #001b3d 0%, #002855 50%, #003366 100%);
  padding: 56px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.auth-brand-dots {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 72px;
  height: 72px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  opacity: 0.7;
}

.auth-brand-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.auth-logo-wrap {
  align-self: center;
  background: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.auth-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}

.auth-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
}

.auth-tagline strong {
  color: #2dd4bf;
  font-weight: 600;
}

.auth-features {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.auth-features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.auth-feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #60a5fa;
}

.auth-feature-icon svg {
  width: 20px;
  height: 20px;
}

.auth-features strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.auth-features span span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ── Right form panel ── */
.auth-form-panel {
  padding: 48px 56px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.auth-form-inner {
  width: 100%;
  max-width: 400px;
}

.auth-form-panel h1 {
  margin: 0 0 6px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #001b3d;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  margin: 0 0 28px;
  color: #64748b;
  font-size: 0.92rem;
}

.auth-field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.auth-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}

.auth-input-wrap input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  font: inherit;
  font-size: 0.92rem;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-input-wrap input:focus {
  outline: none;
  border-color: #0052ea;
  box-shadow: 0 0 0 3px rgba(0, 82, 234, 0.12);
}

.auth-input-wrap input::placeholder {
  color: #94a3b8;
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: #94a3b8;
  display: grid;
  place-items: center;
}

.auth-password-toggle:hover {
  color: #64748b;
}

.auth-password-toggle svg {
  width: 18px;
  height: 18px;
}

.auth-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.85rem;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  cursor: pointer;
}

.auth-remember input {
  width: 16px;
  height: 16px;
  accent-color: #0052ea;
}

.auth-forgot {
  color: #0052ea;
  text-decoration: none;
  font-weight: 500;
}

.auth-forgot:hover {
  text-decoration: underline;
}

.auth-form-panel .btn.primary {
  width: 100%;
  padding: 13px 18px;
  border-radius: 10px;
  background: #0052ea;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 82, 234, 0.35);
  transition: background 0.15s;
}

.auth-form-panel .btn.primary:hover {
  background: #0046c7;
}

.auth-help {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.auth-help a {
  color: #0052ea;
  font-weight: 600;
  text-decoration: none;
}

.auth-help a:hover {
  text-decoration: underline;
}

.auth-footer {
  position: fixed;
  bottom: 16px;
  left: 62.5%;
  right: 0;
  color: #94a3b8;
  font-size: 0.8rem;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.auth-form-panel .alert {
  margin-bottom: 18px;
}

/* ── Mobile ── */
@media (max-width: 820px) {
  .auth-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-brand {
    padding: 36px 28px;
    min-height: auto;
  }

  .auth-brand-content {
    max-width: 100%;
  }

  .auth-features {
    display: none;
  }

  .auth-tagline {
    font-size: 0.88rem;
  }

  .auth-form-panel {
    padding: 36px 28px 64px;
  }

  .auth-footer {
    position: static;
    padding: 16px;
    background: #fff;
  }
}
