
:root {
  --navy: #10264a;
  --blue: #1d4e89;
  --gold: #c9a45c;
  --light: #f4f6fa;
  --white: #ffffff;
  --text: #243247;
  --muted: #758195;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--text);
  min-height: 100vh;
}

.topbar {
  height: 82px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7%;
  color: white;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 45px;
  height: 45px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 24px;
  font-weight: bold;
}

.brand h2 {
  font-size: 21px;
  letter-spacing: 2px;
}

.brand span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #d0d7e3;
}

.portal-status {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
}

.auth-container {
  max-width: 1100px;
  min-height: 650px;
  margin: 45px auto;
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 55px;
  align-items: center;
}

.welcome-section {
  background: var(--navy);
  color: white;
  min-height: 440px;
  padding: 55px 45px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(16, 38, 74, 0.12);
}

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1.5px;
  line-height: 1.8;
}

.welcome-section h1 {
  font-size: 38px;
  line-height: 1.25;
  margin: 25px 0 18px;
}

.welcome-section h1 span {
  color: var(--gold);
}

.welcome-section p {
  color: #d2d9e5;
  line-height: 1.8;
  font-size: 14px;
  max-width: 400px;
}

.welcome-footer {
  margin-top: 55px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 2px;
}

.auth-card {
  background: white;
  border-radius: 14px;
  padding: 40px 32px;
  box-shadow: 0 12px 35px rgba(16, 38, 74, 0.07);
}

.card-heading {
  margin-bottom: 30px;
}

.card-heading h2 {
  font-size: 27px;
  color: var(--navy);
  margin-bottom: 9px;
}

.card-heading p {
  font-size: 13px;
  color: var(--muted);
}

form label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin: 18px 0 9px;
}

form input {
  width: 100%;
  height: 49px;
  border: 1px solid #dce2eb;
  border-radius: 7px;
  padding: 0 14px;
  outline: none;
  font-size: 14px;
  transition: 0.2s;
}

form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 137, 0.09);
}

form button {
  width: 100%;
  height: 49px;
  margin-top: 27px;
  border: none;
  border-radius: 7px;
  background: var(--navy);
  color: white;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

form button:hover {
  background: var(--blue);
}

.auth-switch {
  margin-top: 25px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.auth-switch a {
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
}

#message {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
}

footer {
  text-align: center;
  padding: 25px 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 2;
}

@media (max-width: 760px) {
  .topbar {
    padding: 0 20px;
    height: 72px;
  }

  .portal-status {
    font-size: 9px;
  }

  .auth-container {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 15px auto;
    padding: 15px;
  }

  .welcome-section {
    min-height: 300px;
    padding: 35px 25px;
  }

  .welcome-section h1 {
    font-size: 30px;
  }

  .welcome-footer {
    margin-top: 30px;
  }

  .auth-card {
    padding: 30px 22px;
  }
}
