/* Login page styles (standalone card layout) */
.auth-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background:
    radial-gradient(
      900px circle at 20% -15%,
      rgba(42, 111, 168, 0.18),
      transparent 55%
    ),
    radial-gradient(
      700px circle at 95% 10%,
      rgba(184, 146, 42, 0.12),
      transparent 55%
    ),
    linear-gradient(180deg, #cfe0f0 0%, #eaf2f9 55%, #dfe9f3 100%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-navy-900);
  color: var(--color-white);
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.auth-fdic-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(45, 66, 96, 0.12);
}

.auth-fdic-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: rgba(36, 54, 82, 0.9);
  font-weight: 700;
  font-size: 0.775rem;
  font-style: italic;
}

.auth-fdic-mark {
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--color-gold);
}

.auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 1rem 2.75rem;
  width: 100%;
}

.auth-card {
  width: min(520px, 100%);
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(15, 31, 53, 0.2);
  overflow: hidden;
  border: 1px solid rgba(45, 66, 96, 0.12);
}

.auth-brand {
  background: #f3f6fb;
  border-bottom: 1px solid rgba(45, 66, 96, 0.12);
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-brand__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.auth-form {
  padding: 1.4rem 1.35rem 1.15rem;
}

.auth-field {
  margin-bottom: 0.9rem;
}

.auth-field label {
  display: block;
  margin: 0 0 0.35rem;
  font-weight: 800;
  color: var(--color-navy-900);
  font-size: 0.95rem;
}

.auth-field input {
  width: 100%;
  height: 44px;
  padding: 0 0.95rem;
  border-radius: 6px;
  border: 1px solid rgba(45, 66, 96, 0.35);
  background: #ffffff;
  font-size: 1rem;
  color: var(--color-navy-900);
}

.auth-field select {
  width: 100%;
  height: 44px;
  padding: 0 0.95rem;
  border-radius: 6px;
  border: 1px solid rgba(45, 66, 96, 0.35);
  background: #ffffff;
  font-size: 1rem;
  color: var(--color-navy-900);
}

.auth-field select:focus {
  outline: none;
  border-color: rgba(42, 111, 168, 0.95);
  box-shadow: 0 0 0 3px rgba(42, 111, 168, 0.2);
}

.auth-help {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: var(--color-slate-600);
}

.auth-field input:focus {
  outline: none;
  border-color: rgba(42, 111, 168, 0.95);
  box-shadow: 0 0 0 3px rgba(42, 111, 168, 0.2);
}

.auth-password-row {
  position: relative;
}

.auth-password-row input {
  padding-right: 7.5rem;
}

.auth-show-btn {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-weight: 800;
  cursor: pointer;
  padding: 0.35rem 0.4rem;
  font-size: 0.95rem;
}

.auth-show-btn:hover {
  color: var(--color-navy-900);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.55rem 0 1.15rem;
}

.auth-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

.auth-remember label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-slate-600);
}

.auth-primary {
  width: 100%;
  border: none;
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    rgba(58, 85, 119, 1) 0%,
    rgba(36, 54, 82, 1) 100%
  );
  color: #ffffff;
  height: 48px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  box-shadow: 0 14px 30px rgba(36, 54, 82, 0.18);
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}

.auth-primary:hover {
  box-shadow: 0 18px 38px rgba(36, 54, 82, 0.22);
  transform: translateY(-1px);
}

.auth-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(42, 111, 168, 0.26),
    0 18px 38px rgba(36, 54, 82, 0.22);
}

.auth-primary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.auth-primary__icon svg {
  width: 22px;
  height: 22px;
}

.auth-primary__text {
  display: inline-block;
}

.auth-links-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-links-row a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.auth-links-row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-privacy-bar {
  background: #08263b;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1.15rem;
}

.auth-privacy-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.8rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.auth-privacy-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.auth-privacy-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-privacy-sep {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  user-select: none;
}

@media (max-width: 520px) {
  .auth-form {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .auth-fdic-inner {
    font-size: 0.82rem;
    justify-content: flex-start;
  }

  .auth-privacy-links {
    font-size: 0.86rem;
    gap: 0.45rem 0.55rem;
  }
}

/* Minimal footer overrides (login page) */
.auth-login-footer {
  margin-top: 2.25rem;
  background: #ffffff;
}

.auth-footer__utility {
  background: #ffffff;
  border-top: 1px solid rgba(45, 66, 96, 0.08);
}

.auth-footer__utility-inner {
  padding: 0.85rem 0;
}

.auth-footer__utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  justify-content: center;
}

.auth-footer__utility-links a {
  color: rgba(36, 54, 82, 0.88);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
}

.auth-footer__utility-links a:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-footer__call {
  background: #ffffff;
  padding: 0.75rem 0 1.2rem;
  text-align: center;
  color: rgba(36, 54, 82, 0.88);
  font-weight: 700;
  font-size: 0.85rem;
}

.auth-footer__call-link {
  color: var(--color-accent);
  text-decoration: none;
}

.auth-footer__call-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-footer__regbox {
  background: #ffffff;
  padding: 0.25rem 0 1.75rem;
}

.auth-footer__regbox-inner {
  border: 1px solid rgba(45, 66, 96, 0.15);
  border-radius: 10px;
  padding: 1.05rem 1rem 0.9rem;
}

.auth-footer__regbox-title {
  margin: 0 0 0.75rem;
  text-align: center;
  color: rgba(36, 54, 82, 0.95);
  font-weight: 800;
  font-size: 0.85rem;
}

.auth-footer__regbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(45, 66, 96, 0.12);
}

.auth-footer__regbox-cell {
  padding: 0.6rem 0.5rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(36, 54, 82, 0.9);
  border-right: 1px solid rgba(45, 66, 96, 0.12);
  border-bottom: 1px solid rgba(45, 66, 96, 0.12);
}

.auth-footer__regbox-cell:nth-child(3n) {
  border-right: none;
}

.auth-footer__copy {
  background: #ffffff;
  padding: 0.2rem 0 1.5rem;
}

.auth-footer__copy-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
}


.auth-footer__copyright {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(36, 54, 82, 0.65);
}

.auth-footer__trademark {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(36, 54, 82, 0.6);
  max-width: 68ch;
}

.auth-footer__fdic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.auth-footer__fdic-home {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  opacity: 0.9;
}

.auth-footer__fdic-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(36, 54, 82, 0.7);
}

.auth-footer__dark {
  background: #0b2a3f;
  color: rgba(255, 255, 255, 0.9);
  padding: 2.25rem 0;
}

.auth-footer__dark-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-footer__dark-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
  align-items: start;
}

.auth-footer__dark-title {
  margin: 0 0 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
}

.auth-footer__dark-col a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.auth-footer__dark-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-footer__social {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.auth-footer__social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.auth-footer__social-icon:hover {
  background: rgba(255, 255, 255, 0.16);
}

.auth-footer__bottom {
  background: #081f31;
  color: rgba(255, 255, 255, 0.75);
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-footer__bottom-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-weight: 800;
  font-size: 0.78rem;
}

.auth-footer__bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.auth-footer__bottom-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-footer__bottom-badges {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.auth-footer__badge {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.auth-footer__badge span {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .auth-footer__dark-cols {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
