* {
  box-sizing: border-box;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}
.secure-label {
  display: flex;
  align-items: center;
  gap: 14px;
}
.secure-label a,
.auth-help a,
.auth-options a {
  color: #178b87;
  text-decoration: none;
  font-weight: 700;
}
.secure-label a {
  border: 1px solid #6b9b9b;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12px;
}
.auth-wrap {
  width: min(540px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 80px;
}
.auth-card {
  background: #fff;
  border: 1px solid #dbe5e7;
  border-radius: 18px;
  box-shadow: 0 12px 35px #183b440f;
  padding: clamp(24px, 5vw, 42px);
}
.auth-card h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  margin-bottom: 12px;
}
.auth-description {
  color: #6b7b83;
  line-height: 1.6;
  margin-bottom: 28px;
}
.auth-card form {
  display: grid;
  gap: 10px;
}
.auth-card label {
  font-size: 13px;
  font-weight: 700;
  color: #123342;
}
.auth-card input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid #cbdadd;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: #15232d;
  background: #fff;
  margin-bottom: 8px;
}
.auth-card input:not([type="checkbox"]):focus {
  outline: 2px solid #9fe3da;
  outline-offset: 1px;
  border-color: #178b87;
}
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 8px;
  font-size: 12px;
}
.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 7px;
  font-weight: 400 !important;
  color: #6b7b83 !important;
  white-space: nowrap;
}
.checkbox-label input {
  accent-color: #178b87;
}
.auth-options a {
  font-size: 12px;
}
.auth-help {
  text-align: center;
  color: #6b7b83;
  font-size: 13px;
  line-height: 1.6;
  margin: 20px 0 0;
}
.auth-help a {
  color: #123342;
}
html {
  background: #f4f7f9;
}
body {
  margin: 0;
  background: #f4f7f9;
  color: #15232d;
  font-family: Arial, sans-serif;
}
.portal-shell {
  min-height: 100vh;
}
.site-header {
  background: #123342;
  color: #fff;
}
.header-inner,
.content-wrap,
footer {
  width: min(1080px, calc(100% - 40px));
  margin: auto;
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #9fe3da;
  font-weight: 700;
}
.eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b7b83;
}
.eyebrow.accent {
  color: #178b87;
}
.brand-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.secure-label {
  margin-left: auto;
  color: #b5d5d3;
  font-size: 12px;
}
.content-wrap {
  padding: 66px 0 80px;
}
.hero-copy {
  margin-bottom: 30px;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  color: #123342;
  font-size: clamp(2.35rem, 6vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin-bottom: 17px;
}
h1 span {
  color: #178b87;
}
.hero-description {
  font-size: 17px;
  color: #6b7b83;
  line-height: 1.6;
}
.service-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  background: #e9f1f2;
  border-radius: 12px;
  width: fit-content;
}
.service-tab {
  border: 0;
  background: transparent;
  color: #6b7b83;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.service-tab.active {
  background: #fff;
  color: #123342;
  box-shadow: 0 3px 10px #183b4414;
}
.search-card,
.report-card,
.empty-state {
  background: #fff;
  border: 1px solid #dbe5e7;
  border-radius: 18px;
  box-shadow: 0 12px 35px #183b440f;
}
.search-card {
  padding: clamp(22px, 4vw, 34px);
  margin-bottom: 30px;
}
.section-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.section-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #edf6f5;
  color: #178b87;
  flex: 0 0 auto;
}
.section-heading p {
  color: #6b7b83;
  line-height: 1.5;
  margin: 0;
  font-size: 14px;
}
h2 {
  color: #123342;
  font-size: 23px;
  letter-spacing: -0.03em;
  margin-bottom: 7px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 19px 20px;
}
label {
  color: #123342;
  font-size: 13px;
  font-weight: 700;
}
label span {
  color: #6b7b83;
  font-weight: 400;
}
input,
select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #dbe5e7;
  border-radius: 9px;
  background: #fbfcfc;
  color: #15232d;
  font: inherit;
}
input:focus,
select:focus {
  border-color: #178b87;
  outline: 3px solid #178b871f;
}
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
}
.primary-button {
  background: #178b87;
  color: #fff;
  width: 100%;
  padding: 14px;
  margin-top: 25px;
}
.secondary-button {
  background: #edf6f5;
  color: #178b87;
  padding: 12px 18px;
}
.privacy-note {
  text-align: center;
  color: #6b7b83;
  font-size: 12px;
  margin: 18px 0 0;
}
.form-error {
  color: #b42318;
  font-size: 13px;
  margin: 18px 0 -8px;
}
.report-card {
  padding: clamp(22px, 4vw, 34px);
}
.report-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}
.report-status,
.passed {
  color: #187b5b;
  background: #e9f7f0;
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.student-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px;
  background: #f7faf9;
  border-radius: 11px;
  margin-bottom: 25px;
}
dt {
  color: #6b7b83;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 5px;
}
dd {
  margin: 0;
  color: #123342;
  font-size: 14px;
  font-weight: 700;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 13px;
}
th {
  background: #123342;
  color: #fff;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  padding: 13px 14px;
}
td {
  border-bottom: 1px solid #dbe5e7;
  padding: 15px 14px;
  color: #40545c;
}
.code,
.amount {
  color: #123342;
  font-weight: 700;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-top: 25px;
}
.summary {
  border: 1px solid #dbe5e7;
  border-radius: 11px;
  padding: 17px;
}
.summary p {
  color: #6b7b83;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}
.summary strong {
  color: #123342;
  font-size: 25px;
}
.summary.featured {
  background: #123342;
  border-color: #123342;
}
.summary.featured p,
.summary.featured strong {
  color: #fff;
}
.notice {
  background: #f0f7f7;
  color: #4d686d;
  font-size: 12px;
  padding: 13px 15px;
  border-radius: 8px;
  margin-top: 25px;
}
.empty-state {
  padding: 55px 25px;
  text-align: center;
}
.empty-state p {
  color: #6b7b83;
  line-height: 1.6;
}
footer {
  padding: 26px 0 32px;
  border-top: 1px solid #dbe5e7;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #6b7b83;
  font-size: 12px;
}
nav {
  display: flex;
  gap: 18px;
}
nav a {
  color: #6b7b83;
  text-decoration: none;
}
@media (max-width: 640px) {
  .header-inner,
  .content-wrap,
  footer {
    width: calc(100% - 28px);
  }
  .content-wrap {
    padding-top: 44px;
  }
  .secure-label {
    display: none;
  }
  .service-switch {
    width: 100%;
  }
  .service-tab {
    flex: 1;
    padding: 11px 8px;
  }
  .form-grid,
  .student-details,
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .report-top,
  footer {
    flex-direction: column;
  }
  footer {
    gap: 12px;
  }
}

#remember-me {
  margin-top: 0px !important;
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  width: 100%;
  padding-right: 2.5rem;
}

.toggle-password-btn {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.25rem;
}
