﻿:root {
  --navy: #173775;
  --deep: #102e69;
  --teal: #5f7c7a;
  --page: #eef1f6;
  --panel: #edf0f4;
  --card: #e1e4e8;
  --border: #cbd2dc;
  --shadow: 0 24px 70px rgba(21, 44, 103, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
}
body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--deep);
  font-family: Cabin, Arial, sans-serif;
}
button,
input,
select {
  font: inherit;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font:
    700 25px Roboto,
    Arial,
    sans-serif;
  text-decoration: none;
}
.brand-mark {
  width: 25px;
  height: 22px;
  position: relative;
}
.brand-mark:before,
.brand-mark:after {
  content: "";
  position: absolute;
  inset: 0;
}
.brand-mark:before {
  background: #fff;
  clip-path: polygon(0 0, 40% 0, 100% 50%, 68% 50%);
}
.brand-mark:after {
  background: #98989e;
  clip-path: polygon(68% 50%, 100% 50%, 40% 100%, 0 100%);
}
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.login-shell {
  width: min(1200px, 100%);
  height: min(720px, calc(100vh - 64px));
  min-height: 570px;
  display: grid;
  grid-template-columns: 58% 42%;
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 56px 44px;
  color: #fff;
  background: linear-gradient(145deg, #173775, #41618f 60%, #607f7e 118%);
}
.hero:after,
.register-aside:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.hero:after {
  top: -245px;
  right: -105px;
}
.hero-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav {
  display: flex;
  gap: 8px;
}
.nav-button {
  min-width: 67px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font:
    500 14px Roboto,
    Arial,
    sans-serif;
  cursor: pointer;
}
.nav-button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nav-button.active {
  background: #fff;
  color: var(--deep);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: calc(100% - 48px);
  display: flex;
  align-items: center;
  padding-top: 20px;
}
.view {
  display: none;
  width: 100%;
  max-width: 560px;
}
.view.active {
  display: block;
}
.eyebrow {
  margin: 0 0 18px;
  color: #f2f7f7;
  font:
    600 14px Roboto,
    Arial,
    sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.view h1,
.register-copy h1 {
  margin: 0 0 24px;
  color: #fff;
  font:
    700 60px/1.02 Roboto,
    Arial,
    sans-serif;
  letter-spacing: 0;
}
.hero-subtitle {
  margin: 0 0 24px;
  color: #e5f4f1;
  font:
    600 21px/1.35 Roboto,
    Arial,
    sans-serif;
}
.view-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  line-height: 1.65;
}
.view h2 {
  margin: 30px 0 12px;
  color: #fff;
  font:
    600 25px Roboto,
    Arial,
    sans-serif;
}
.hero-cta {
  margin-top: 30px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font:
    600 16px Roboto,
    Arial,
    sans-serif;
  cursor: pointer;
}
.support-link {
  display: inline-block;
  margin-top: 27px;
  color: #e5f4f1;
  font:
    600 20px Roboto,
    Arial,
    sans-serif;
  text-underline-offset: 5px;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: #eef1f4;
}
.login-card {
  width: min(430px, 100%);
  padding: 31px 34px 32px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 18px 45px rgba(21, 44, 103, 0.08);
}
.login-card h2 {
  margin: 0 0 11px;
  font:
    700 36px Roboto,
    Arial,
    sans-serif;
}
.register-prompt {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
  color: #5f6875;
  font-size: 13px;
  text-transform: uppercase;
}
.register-prompt a,
.forgot {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  color: #0b2b66;
  font:
    600 13px Roboto,
    Arial,
    sans-serif;
}
.field input,
.field select {
  width: 100%;
  height: 47px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 0;
  background: #fff;
  color: #26364c;
}
.field input::placeholder {
  color: #929dac;
}
.field input:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(95, 124, 122, 0.17);
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 49px;
}
.icon-button {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
}
.options {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}
.remember {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--deep);
  font-weight: 600;
}
.remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--deep);
}
.primary-button {
  height: 49px;
  border: 0;
  border-radius: 11px;
  background: #173575;
  color: #fff;
  font:
    500 16px Roboto,
    Arial,
    sans-serif;
  box-shadow: 0 9px 20px rgba(21, 44, 103, 0.16);
  cursor: pointer;
}
.login-submit {
  width: 100%;
  margin-top: 22px;
}
.status {
  min-height: 18px;
  margin: 12px 0 -5px;
  color: var(--teal);
  font-size: 13px;
  text-align: center;
}
.register-page {
  padding: 52px 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.register-shell {
  width: min(1430px, 100%);
  display: grid;
  grid-template-columns: 355px minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}
.register-aside {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-radius: 20px;
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(155deg, #173775, #284b7e 62%, #567777 130%);
  box-shadow: var(--shadow);
}
.register-aside:after {
  width: 370px;
  height: 370px;
  top: -90px;
  right: -125px;
}
.register-copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
}
.register-copy .eyebrow {
  line-height: 1.6;
}
.register-copy h1 {
  margin-bottom: 22px;
  font-size: 52px;
  line-height: 1.04;
}
.register-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.58;
}
.register-card {
  align-self: center;
  width: 100%;
  padding: 32px 40px 34px;
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.register-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}
.register-card h2 {
  margin: 0 0 5px;
  font:
    700 34px Roboto,
    Arial,
    sans-serif;
}
.register-card-header p {
  margin: 0;
  color: #536177;
  font-size: 14px;
}
.login-prompt {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #778397;
  font-size: 13px;
  white-space: nowrap;
}
.small-button {
  min-width: 83px;
  padding: 12px 19px;
  border-radius: 8px;
  color: #fff;
  background: #173575;
  text-align: center;
  text-decoration: none;
  font:
    500 14px Roboto,
    Arial,
    sans-serif;
  box-shadow: 0 7px 15px rgba(21, 44, 103, 0.18);
}
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.select-wrap {
  position: relative;
}
.select-wrap:after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #667386;
  border-bottom: 2px solid #667386;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap.text-control:after {
  display: none;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  cursor: pointer;
}
.account-section {
  margin-top: 2px;
}
.account-label {
  margin: 0 0 10px;
  color: #788397;
  font:
    600 13px Roboto,
    Arial,
    sans-serif;
  text-transform: uppercase;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
}
.account-button {
  min-height: 47px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: #172c50;
  cursor: pointer;
}
.account-button:hover {
  border-color: var(--navy);
}
.account-button.selected {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}
.register-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}
.register-submit {
  min-width: 243px;
  padding: 0 25px;
}
.button-icon {
  margin-right: 8px;
  font-size: 17px;
}
@media (max-width: 1050px) {
  .register-page {
    align-items: flex-start;
    padding: 28px;
  }
  .register-shell {
    grid-template-columns: 280px 1fr;
    gap: 28px;
  }
  .register-aside {
    min-height: 690px;
    padding: 32px 28px;
  }
  .register-copy h1 {
    font-size: 43px;
  }
  .register-card {
    padding: 30px;
  }
  .register-grid {
    gap: 0 24px;
  }
  .account-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .login-page {
    padding: 20px;
    align-items: flex-start;
  }
  .login-shell {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 34px 38px 48px;
  }
  .hero-content {
    height: auto;
    padding: 62px 0 8px;
  }
  .login-panel {
    padding: 40px 28px;
  }
  .register-shell {
    grid-template-columns: 1fr;
  }
  .register-aside {
    min-height: 420px;
  }
  .register-copy {
    max-width: 560px;
  }
}
@media (max-width: 620px) {
  .login-page,
  .register-page {
    display: block;
    padding: 0;
  }
  .login-shell {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .hero {
    padding: 24px 20px 42px;
  }
  .hero-header {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }
  .brand {
    align-self: flex-start;
    font-size: 23px;
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .nav-button {
    width: 100%;
    min-width: 0;
    padding: 10px 5px;
  }
  .hero-content {
    padding-top: 44px;
  }
  .view h1 {
    font-size: 46px;
  }
  .hero-subtitle {
    font-size: 19px;
  }
  .view-copy {
    font-size: 16px;
    line-height: 1.55;
  }
  .login-panel {
    padding: 28px 16px 34px;
  }
  .login-card {
    padding: 28px 20px;
  }
  .register-prompt,
  .options {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .register-shell {
    display: block;
  }
  .register-aside {
    min-height: 450px;
    border-radius: 0;
    padding: 28px 22px 38px;
    box-shadow: none;
  }
  .register-copy h1 {
    font-size: 44px;
  }
  .register-card {
    border-radius: 0;
    padding: 30px 18px 34px;
    box-shadow: none;
  }
  .register-card-header {
    flex-direction: column;
  }
  .login-prompt {
    width: 100%;
    justify-content: space-between;
  }
  .register-grid {
    grid-template-columns: 1fr;
  }
  .account-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .register-submit {
    width: 100%;
    min-width: 0;
  }
}

.status.error {
  color: #a12b35;
}
.portal-page,
.admin-page {
  min-height: 100vh;
  padding: 40px;
  background: #eef1f6;
}
.portal-card,
.dashboard-shell,
.admin-shell {
  width: min(1120px, 100%);
  margin: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.portal-card.compact {
  width: min(500px, 100%);
  padding: 38px;
}
.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font:
    700 24px Roboto,
    Arial,
    sans-serif;
  text-decoration: none;
}
.portal-brand .brand-mark:before {
  background: var(--navy);
}
.portal-card h1,
.welcome h1,
.admin-heading h1 {
  margin: 34px 0 10px;
  font:
    700 38px Roboto,
    Arial,
    sans-serif;
}
.hint {
  margin: -5px 0 16px;
  color: #68758a;
  font-size: 13px;
}
.portal-submit {
  width: 100%;
  margin-top: 8px;
}
.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  border-bottom: 1px solid #dce1e8;
}
.ghost-button {
  padding: 9px 16px;
  border: 1px solid #aeb9c8;
  border-radius: 7px;
  background: #fff;
  color: var(--deep);
  font-weight: 600;
  cursor: pointer;
}
.welcome {
  padding: 64px;
}
.portal-eyebrow {
  margin: 0;
  color: var(--teal);
  font:
    600 13px Roboto,
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.welcome p {
  color: #5f6c80;
}
.welcome dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 35px;
  overflow: hidden;
  border: 1px solid #dce1e8;
  border-radius: 10px;
  background: #dce1e8;
}
.welcome dl div {
  padding: 20px;
  background: #f7f8fa;
}
.welcome dt {
  color: #748095;
  font-size: 12px;
  text-transform: uppercase;
}
.welcome dd {
  margin: 7px 0 0;
  font-weight: 600;
}
.admin-shell {
  width: min(1500px, 100%);
}
.admin-content {
  padding: 32px;
}
.admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.admin-heading h1 {
  margin: 8px 0 0;
}
.status-tabs {
  display: flex;
  gap: 7px;
}
.admin-list-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 14px;
}
.admin-list-tools input {
  width: min(420px, 100%);
  height: 44px;
  padding: 0 14px;
  border: 1px solid #cbd2dc;
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  font: inherit;
}
.admin-list-tools input:focus {
  border-color: var(--navy);
  outline: 3px solid rgba(29, 63, 125, 0.12);
}
.applicant-count {
  color: #667386;
  white-space: nowrap;
}
.admin-pagination {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.admin-pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #cbd2dc;
  border-radius: 7px;
  background: #fff;
  color: var(--deep);
  cursor: pointer;
}
.admin-pagination button.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.admin-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.tab {
  padding: 9px 14px;
  border: 1px solid #cbd2dc;
  border-radius: 7px;
  background: #fff;
  color: var(--deep);
  cursor: pointer;
}
.tab.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #dce1e8;
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}
th,
td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid #e4e7ec;
  vertical-align: top;
}
th {
  background: #f5f7fa;
  color: #667386;
  font:
    600 12px Roboto,
    Arial,
    sans-serif;
  text-transform: uppercase;
}
td small {
  color: #738096;
}
.action {
  margin: 0 5px 5px 0;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}
.approve {
  background: #246a52;
}
.reject {
  background: #9b3540;
}
.empty {
  padding: 40px;
  text-align: center;
  color: #738096;
}
.field input.invalid,
.field select.invalid {
  border-color: #b42332;
  box-shadow: 0 0 0 3px rgba(180, 35, 50, 0.12);
}
.field-error {
  display: block;
  margin-top: 6px;
  color: #a12b35;
  font:
    500 12px Roboto,
    Arial,
    sans-serif;
}
.account-button:focus-visible {
  outline: 3px solid rgba(23, 53, 117, 0.25);
  outline-offset: 2px;
}
.confirmation-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 29, 66, 0.58);
  backdrop-filter: blur(3px);
}
.confirmation-dialog {
  width: min(430px, 100%);
  padding: 34px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 24, 58, 0.3);
  text-align: center;
}
.confirmation-dialog h2 {
  margin: 15px 0 9px;
  color: var(--deep);
  font:
    700 28px Roboto,
    Arial,
    sans-serif;
}
.confirmation-dialog p {
  margin: 0 0 25px;
  color: #5f6c80;
  line-height: 1.55;
}
.confirmation-dialog .primary-button {
  min-width: 130px;
  padding: 0 28px;
}
.confirmation-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: auto;
  border-radius: 50%;
  background: #e2f3ec;
  color: #246a52;
  font-size: 31px;
  font-weight: 700;
}
.password-toggle-text {
  width: 48px;
  font:
    600 12px Roboto,
    Arial,
    sans-serif;
}
.password-toggle-text:focus-visible {
  outline: 2px solid var(--teal);
  border-radius: 5px;
}
.confirmation-dialog.error-dialog .confirmation-icon {
  background: #fbe8ea;
  color: #a12b35;
}
.confirmation-dialog.error-dialog h2 {
  color: #8f2630;
}
.admin-confirm-dialog {
  width: min(420px, 100%);
  padding: 32px;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 24, 58, 0.3);
  text-align: center;
}
.admin-confirm-dialog h2 {
  margin: 0 0 12px;
  color: var(--deep);
  font:
    700 26px Roboto,
    Arial,
    sans-serif;
}
.admin-confirm-dialog p {
  margin: 0;
  color: #5f6c80;
  line-height: 1.55;
}
.admin-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.admin-confirm-actions button {
  min-width: 115px;
  padding: 0 20px;
}
.danger-button {
  background: #9b3540;
}
@media (max-width: 700px) {
  .portal-page,
  .admin-page {
    padding: 0;
  }
  .portal-card,
  .dashboard-shell,
  .admin-shell {
    border-radius: 0;
    min-height: 100vh;
  }
  .portal-card.compact {
    width: 100%;
    padding: 28px 20px;
  }
  .welcome {
    padding: 40px 22px;
  }
  .welcome dl {
    grid-template-columns: 1fr;
  }
  .portal-header {
    padding: 18px 20px;
  }
  .admin-content {
    padding: 24px 14px;
  }
  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .status-tabs {
    width: 100%;
  }
  .admin-list-tools {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-list-tools input {
    width: 100%;
  }
  .admin-pagination {
    justify-content: center;
  }
  .tab {
    flex: 1;
  }
}
.resend {
  margin-top: 7px;
  background: #536b8e;
}
.back-link {
  text-align: center;
}
.back-link a {
  color: var(--teal);
  font-weight: 600;
}
.required-marker {
  color: #b42332;
  font-weight: 700;
}
.optional-marker {
  color: #778397;
  font-size: 11px;
  font-weight: 500;
}
.phone-control {
  display: flex;
  align-items: center;
  height: 47px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.phone-control:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(95, 124, 122, 0.17);
}
.phone-control #phone-prefix {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 58px;
  padding: 0 12px;
  border-right: 1px solid var(--border);
  background: #f3f5f8;
  color: var(--deep);
  font-weight: 600;
}
.phone-control #phone-prefix[hidden] {
  display: none;
}
.phone-control #phone {
  height: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.phone-control #phone:focus {
  border: 0;
  box-shadow: none;
}
