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

@font-face {
  font-family: 'Circular-USB';
  src: local('Circular-USB'), local('CircularXXWeb-Regular');
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: 'Circular-USB', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #000;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
}

/* ===== Header ===== */
.top-menu-bar {
  display: flex;
  align-items: center;
  height: 80px;
  background: #fff;
  padding: 0 20px;
}

.top-menu-bar__content {
  display: flex;
  align-items: center;
  width: 100%;
}

.top-menu-bar .logo {
  display: inline;
}

/* ===== Blue Nav Line ===== */
.nav-bar-line {
  height: 3px;
  background-color: #0c2074;
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  background-color: #f2f2f5;
  min-height: 756px;
  display: flex;
  justify-content: center;
}

.hero--centered {
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
  min-height: auto;
}

.hero--centered .login-card {
  width: 448px;
  max-width: 448px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  width: 1200px;
  max-width: 1200px;
  padding: 96px 0 30px;
  position: relative;
}

.hero-content-child {
  width: 600px;
}

/* Left side: Heading + Image */
.hero-content-child--image {
  padding: 0;
}

.brand-heading {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  margin-bottom: 24px;
  max-width: 496px;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

/* ===== Login Card ===== */
.login-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 2.4px 5.6px 0px;
  padding: 16px 32px 32px;
  width: 448px;
  position: relative;
}

.login-card h1 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  line-height: 1.25;
}

/* ===== Form Elements ===== */
.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #4c4c50;
  margin-bottom: 0;
}

.form-group input[type="text"],
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  height: 40px;
  border: 1px solid #858585;
  border-radius: 4px;
  padding: 10px 10px 0;
  font-size: 16px;
  font-family: inherit;
  color: #2c2c2c;
  background: transparent;
  margin-top: 5px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.password-wrapper input:focus {
  border-color: #0c2074;
  border-width: 2px;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: #0c2074;
}

.checkbox-group label {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  cursor: pointer;
}

/* Password field with Show button */
.password-group {
  margin-top: 0;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  padding-right: 60px;
}

.show-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-30%);
  background: transparent;
  border: none;
  color: #4c4c50;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.show-btn:hover {
  color: #000;
}

/* Login Button */
.login-btn {
  display: block;
  width: 100%;
  height: 40px;
  background-color: #0c2074;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  margin: 32px 0 16px;
  padding: 8px 24px;
  transition: background-color 0.2s;
}

.login-btn:hover {
  background-color: #091a5c;
}

/* Links */
.forgot-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #0c2074;
  margin-bottom: 8px;
  text-decoration: none;
}

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

.forgot-link svg {
  flex-shrink: 0;
}

.enroll-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: #4c4c50;
  text-decoration: underline;
}

.enroll-link:hover {
  color: #000;
}

/* ===== Form Row (side-by-side fields) ===== */
.form-row {
  display: flex;
  gap: 16px;
}

.form-group--half {
  flex: 1;
}

/* ===== Footer ===== */
.footer {
  background-color: #0c2074;
}

.footer__blue-section {
  padding-bottom: 32px;
}

.footer-content {
  width: 1200px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0 0;
}

.footer-border {
  border-top: 2px solid #ccccd2;
  padding-top: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.privacy-choices {
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-choices img {
  display: inline-block;
}

.footer-info {
  margin-top: 16px;
}

.connection-secured {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
}

.connection-secured svg {
  flex-shrink: 0;
}

.copyright {
  color: #fff;
  font-size: 14px;
  margin-top: 12px;
}

.disclaimer {
  color: #fff;
  font-size: 14px;
  margin-top: 11px;
  line-height: 1.5;
}

/* ===== Responsive: Tablet (max-width: 1345px) ===== */
@media (max-width: 1345px) {
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 60px 32px 30px;
  }

  .hero-content-child {
    width: 50%;
  }

  .login-card {
    width: 100%;
    max-width: 448px;
  }

  .footer-content {
    width: 100%;
    max-width: 100%;
    padding: 16px 32px 0;
  }
}

/* ===== Responsive: Small Tablet (max-width: 1055px) ===== */
@media (max-width: 1055px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
  }

  .hero-content-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content-child--image {
    order: 2;
    align-items: center;
    text-align: center;
    margin-top: 32px;
  }

  .brand-heading {
    font-size: 32px;
    max-width: 100%;
    text-align: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .login-card {
    width: 100%;
    max-width: 448px;
  }

  .hero {
    min-height: auto;
  }
}

/* ===== Responsive: Mobile (max-width: 672px) ===== */
@media (max-width: 672px) {
  .top-menu-bar {
    height: 56px;
    padding: 0 16px;
  }

  .top-menu-bar .logo {
    width: 180px;
    height: auto;
  }

  .hero {
    min-height: auto;
    background-color: #f2f2f5;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    width: 100%;
  }

  .hero-content-child {
    width: 100%;
  }

  .hero-content-child--image {
    order: 2;
    margin-top: 24px;
  }

  .brand-heading {
    font-size: 24px;
    text-align: center;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .hero-image {
    max-width: 100%;
    margin: 0 auto;
  }

  .login-card {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    padding: 16px 16px 24px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2.4px 5.6px 0px;
  }

  .login-card h1 {
    font-size: 24px;
  }

  .login-btn {
    margin: 24px 0 12px;
  }

  .forgot-link {
    font-size: 14px;
  }

  .footer-content {
    width: 100%;
    padding: 16px 16px 0;
  }

  .disclaimer {
    font-size: 12px;
  }
}
