:root {
  --navy: #0B2D5C;
  --gold: #F0B429;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.brand-name {
  color: var(--navy);
}

/* Buttons */
.btn-brand {
  background: var(--navy);
  color: #fff;
  border: 0;
}

  .btn-brand:hover {
    background: #0a264c;
    color: #fff;
  }

/* Nav */
.navbar .nav-link {
  color: var(--navy);
  font-weight: 600;
}

  .navbar .nav-link:hover {
    color: #091e3a;
  }

/* Footer */
.footer-link {
  color: #4b5563;
  text-decoration: none;
}

  .footer-link:hover {
    color: #111827;
    text-decoration: underline;
  }

/* Ad slots — subtle, collapse on tiny phones */
.ad-slot {
  max-width: 728px;
  min-height: 60px;
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  padding: .25rem;
}
.auth-wrap {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  max-width: 960px;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

  .auth-card h1 {
    margin: 0 0 .25rem 0;
    font-size: 2rem;
    line-height: 1.2;
  }

.auth-sub {
  margin: 0 0 1.25rem 0;
  color: #6b7280
}

.auth-form .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
}

  .field label {
    font-weight: 600;
    margin-bottom: .25rem;
  }

.input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: .6rem .75rem;
  outline: none;
}

  .input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
  }

.password {
  position: relative;
  display: flex;
  align-items: center;
}

  .password .reveal {
    margin-left: .5rem;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 8px;
    padding: .45rem .6rem;
    font-size: .9rem;
    cursor: pointer
  }

.hint {
  margin-top: .25rem;
  font-size: .85rem;
  color: #6b7280
}

.val {
  color: #b91c1c;
  font-size: .85rem;
  margin-top: .25rem;
}

.val-summary {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
  padding: .75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none
}

.validation-summary-errors.val-summary {
  display: block
}

.agreements {
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem
}

.checkbox {
  display: flex;
  align-items: center;
  gap: .5rem
}

.actions {
  margin-top: 1rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap
}

.btn-primary {
  background: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: .65rem 1rem;
  font-weight: 600;
  cursor: pointer
}

  .btn-primary:hover {
    background: #1b3174
  }

.btn-ghost {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: .6rem .9rem;
  text-decoration: none;
  color: #111827
}

@media (max-width:480px) {
  .ad-top {
    display: none;
  }
  /* hide the top banner on very small phones */
  .ad-inline {
    min-height: 50px;
  }
}

/* Content helpers */
.container p, .container li {
  line-height: 1.6;
}
