/* ── Fonts ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Open Sans';
  src: url('assets/OpenSans-Regular.ttf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('assets/OpenSans-Medium.ttf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('assets/OpenSans-Bold.ttf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'AvenirNextLTPro';
  src: url('assets/AvenirNextLTPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'AvenirNextLTPro';
  src: url('assets/AvenirNextLTPro-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'AvenirNextLTPro';
  src: url('assets/AvenirNextLTPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'LibreBaskerville';
  src: url('assets/Libre-Baskerville-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'LibreBaskerville';
  src: url('assets/Libre-Baskerville-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'LibreBaskerville';
  src: url('assets/Libre-Baskerville-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

/* ── Reset / Base ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-height: 100%;
  height: 100%;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background-color: #f0efed;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  top: 0;
  left: 0;
  z-index: 10;
  padding: 2vh 3vh;
  background-color: white;
  height: 10vh;
}

.logo {
  height: 100%;
  width: auto;
  display: block;
}

/* ── Hero (full-page background) ────────────────────────── */
.hero {
  background-image: url('assets/Teams BG-red.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}

/* ── Card ────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.18);
  width: 100%;
  max-width: 28vw;
}

.card-body-padding {
  padding: 4.8vh 0;
}

.card-body {
  padding: 0 3.6vh;
}

/* ── Welcome Heading ─────────────────────────────────────── */
.welcome-heading {
  display: flex;
  flex-direction: column;
  line-height: 0.75;
  margin-bottom: 2vh;
}

.welcome-to {
  font-family: 'AvenirNextLTPro', Arial, sans-serif;
  font-weight: 700;
  font-size: 3.2vh;
  color: #1a1a1a;
}

.brand-name {
  font-family: 'LibreBaskerville', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 6vh;
  color: #cf3b2b;
  line-height: 1.1;
}

/* ── Description ─────────────────────────────────────────── */
.description {
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
}

/* ── Login Button ────────────────────────────────────────── */
.login-btn {
  display: block;
  width: 100%;
  padding: 1vh 20px;
  text-align: center;
  border: 2px solid #d0ccc8;
  border-radius: 2px;
  font-family: 'AvenirNextLTPro', Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.01em;
  margin: 3vh 0;
}

.login-btn:hover {
  background-color: #cf3b2b;
  border-color: #c8102e;
  color: #fff;
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid black;
  margin: 3vh auto 2vh;
  width: 90%;
}

/* ── MFA Notice ──────────────────────────────────────────── */
.mfa-notice {
  font-size: 13px;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 12px;
  text-align: center;
}

.mfa-notice p {
  margin-bottom: 2px;
}

.mfa-notice a {
  color: #1a1a1a;
  text-decoration: underline;
}

.mfa-notice a:hover {
  color: #c8102e;
}

/* ── Footer Links ────────────────────────────────────────── */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2vh 8px;
  margin-bottom: 2vh;
}

.footer-links a {
  font-size: 13px;
  color: #1a1a1a;
  text-decoration: underline;
  line-height: 1.8;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #c8102e;
}

/* ── Social Icons ────────────────────────────────────────── */
.social-icons {
  display: flex;
  gap: 8px 0.8vh;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #3d3d3d;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.social-icon:hover {
  background-color: #c8102e;
}

.social-icon svg {
  display: block;
}

.bold {
  font-weight: 700;
}


/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1280px) and (min-width: 561px) {
  .description {
    font-size: 9px;
  }

  .mfa-notice, .footer-links a {
    font-size: 8.5px;
  }

  .login-btn {
    font-size: 12px;
  }

  .social-icon {
    width: 19px;
    height: 19px;
  }

  .social-icon svg {
    transform: scale(0.65);
  }


}

@media (max-width: 560px) {
  .welcome-to {
    font-size: 28px;
  }

  .brand-name {
    font-size: 48px;
  }

  .site-header {
    border-bottom: 1px solid #d0ccc8;
    padding: 16px 24px;
  }

  .hero {
    background: white;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 0;
    flex-grow: 1;
  }

  .card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 432px;
  }

  .card-body {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
  }

  .card-body.main {
    flex-grow: 1;
    justify-content: center;
  }

  .card-body-padding {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .mfa-notice {
    text-align: center;
  }
}
