@font-face {
  font-family: Cairo;
  src: url('./assets/fonts/Cairo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Cairo;
  src: url('./assets/fonts/Cairo-Bold.ttf') format('truetype');
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: Cairo;
  src: url('./assets/fonts/Cairo-Black.ttf') format('truetype');
  font-weight: 800 900;
  font-display: swap;
}
:root {
  --background: #f6f8fc;
  --foreground: #0b1d4d;
  --card: #fff;
  --primary: #2563eb;
  --muted: #eef3fa;
  --muted-foreground: #66758e;
  --accent: #e8f1ff;
  --border: #e2e8f2;
  --radius: 0.75rem;
  color-scheme: light;
}
.dark {
  --background: #0b1d4d;
  --foreground: #f4f8ff;
  --card: #142956;
  --primary: #60a5fa;
  --muted: #172f60;
  --muted-foreground: #b0c3e4;
  --accent: #20437e;
  --border: #314974;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
  border-color: var(--border);
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Cairo, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a {
  text-decoration: none;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  overflow: hidden;
}
.site-header {
  height: 94px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1256px;
  padding: 0 36px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  object-fit: contain;
  width: 44px;
  height: 48px;
}
.brand strong {
  display: block;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.45;
}
.brand small {
  display: block;
  font-size: 12px;
  color: #647697;
  line-height: 1.5;
}
.header-inner nav {
  display: flex;
  align-items: center;
  gap: 38px;
  height: 100%;
  font-size: 14px;
  color: #758098;
}
.header-inner nav a {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 100%;
  position: relative;
}
.header-inner nav .active {
  color: var(--primary);
  font-weight: 700;
}
.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  height: 3px;
  border-radius: 4px;
  width: 100%;
  background: var(--primary);
}
.external-nav .material-symbols-rounded {
  font-size: 16px;
}
.header-admin {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 14px;
  background: #fff;
  transition: background 0.2s;
}
.header-admin:hover {
  background: var(--accent);
}
.header-admin .material-symbols-rounded {
  font-size: 18px;
}
.registration-main {
  max-width: 1184px;
  margin: auto;
  padding: 34px 24px 20px;
}
.page-kicker {
  font-size: 12px;
  color: #697a97;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e4edff;
  display: inline-block;
}
.kicker-line {
  width: 24px;
  height: 1px;
  background: #c4d0e4;
  margin: 0 4px;
}
.enrollment-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 655px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 54px #182e5b06;
  animation: enter 0.6s ease both;
}
.form-panel {
  padding: 37px 44px 26px;
  min-width: 0;
}
.form-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}
.section-icon {
  height: 36px;
  width: 36px;
  border: 1px solid #dce8fd;
  border-radius: 10px;
  background: #edf4ff;
  display: grid;
  place-items: center;
  color: #2563eb;
}
.section-icon .material-symbols-rounded {
  font-size: 19px;
}
.step-label {
  font-size: 12px;
  color: #74829a;
}
.form-panel h1 {
  font-weight: 900;
  font-size: 36px;
  line-height: 1.65;
  letter-spacing: -1.5px;
}
.form-panel h1 span {
  color: #2563eb;
}
.form-description {
  font-size: 14px;
  color: #728098;
  line-height: 1.9;
  margin: 6px 0 26px;
}
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.field-studentName,
.field-address {
  grid-column: 1/-1;
}
.field {
  min-width: 0;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
}
.field label > span {
  color: #5d86c5;
  font-size: 12px;
  margin-right: 4px;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #e0e6f0;
  border-radius: 10px;
  background: #fbfcfe;
  transition:
    background 0.2s,
    border 0.2s,
    box-shadow 0.2s;
}
.input-wrap > .material-symbols-rounded {
  color: #8a9ab4;
  font-size: 20px;
}
.input-wrap:focus-within {
  background: white;
  border-color: #86a9f3;
  box-shadow: 0 0 0 3px #2563eb0c;
}
.input-wrap input {
  border: 0;
  outline: none;
  background: transparent;
  color: #0b1d4d;
  min-width: 0;
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
}
.input-wrap input::placeholder {
  color: #8c99ad;
}
.input-wrap input:focus-visible {
  outline: none;
}
.field-phone input {
  text-align: right;
}
.field-phone input:not(:placeholder-shown) {
  text-align: left;
}
.grade-trigger[data-slot] {
  width: 100%;
  height: 52px !important;
  padding: 0 14px;
  background: #fbfcfe;
  border: 1px solid #e0e6f0;
  border-radius: 10px;
  font-size: 14px;
  gap: 9px;
}
.grade-trigger .material-symbols-rounded {
  font-size: 20px;
  color: #8a9ab4;
}
.grade-trigger [data-slot='select-value'] {
  text-align: right;
  color: #728098;
}
.grade-options {
  font-family: Cairo, Arial, sans-serif;
  background: white;
  max-height: 290px;
  padding: 5px;
}
.grade-options [data-slot='select-item'] {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
}
.invalid,
.grade-trigger.invalid {
  border-color: #d06976 !important;
}
.field-error {
  color: #a7263a;
  font-size: 12px;
  margin: 5px 0 0;
}
.data-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #738098;
  font-size: 12px;
  margin: 20px 0 17px;
}
.data-note .material-symbols-rounded {
  font-size: 16px;
}
.primary-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 100%;
  background: #2563eb;
  color: white;
  border: 1px solid #2563eb;
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 5px 12px #2563eb18;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.primary-button:hover:not(:disabled) {
  background: #1552d8;
  transform: translateY(-2px);
  box-shadow: 0 7px 19px #2563eb30;
}
.primary-button .material-symbols-rounded {
  font-size: 21px;
}
.required-note {
  text-align: center;
  font-size: 12px;
  color: #8b97aa;
  margin-top: 13px;
}
.required-note span {
  color: #93aadb;
  margin-right: 3px;
}
.brand-panel {
  position: relative;
  overflow: hidden;
  background: #0b1d4d;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 25px 32px 22px;
  background-image: radial-gradient(
    ellipse at 3% 50%,
    #154baf50,
    transparent 65%
  );
}
.brand-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #b0c3e6;
}
.tiny-star {
  font-size: 26px;
  color: #7ea5f1;
}
.orbit-art {
  position: relative;
  height: 264px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin: 4px -30px -1px;
}
.orbit {
  position: absolute;
  border: 1px solid #80aaff22;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  transform: rotate(-28deg);
}
.orbit-two {
  width: 355px;
  height: 198px;
  transform: rotate(-28deg);
}
.orbit-three {
  width: 365px;
  height: 155px;
  transform: rotate(37deg);
  border-color: #80aaff14;
}
.hero-symbol {
  width: 145px;
  height: 145px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  animation: float-logo 5s ease-in-out infinite;
  z-index: 1;
  opacity: 0.96;
}
.orbit-point {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #79acff;
  box-shadow: 0 0 15px #60a5fa50;
}
.point-one {
  top: 50px;
  right: 76px;
}
.point-two {
  bottom: 48px;
  left: 72px;
  width: 5px;
  height: 5px;
}
.art-spark {
  position: absolute;
  color: #8eb8ff;
}
.spark-one {
  top: 13px;
  left: 99px;
  font-size: 22px;
  animation: twinkle 4s ease infinite;
}
.spark-two {
  bottom: 38px;
  right: 105px;
  font-size: 13px;
  animation: twinkle 4s ease 1s infinite;
}
.brand-panel-copy {
  padding: 0 12px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 12px;
  color: #2563eb;
  font-weight: 700;
  display: block;
}
.eyebrow.light {
  color: #96b6ed;
  margin-bottom: 12px;
}
.brand-panel h2 {
  font-weight: 900;
  font-size: 49px;
  line-height: 1.5;
  letter-spacing: -1.7px;
}
.brand-panel h2 span {
  color: #85b8ff;
}
.brand-panel-copy p {
  font-size: 14px;
  color: #b3c4df;
  line-height: 1.95;
  margin-top: 11px;
}
.brand-panel-bottom {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #c6d8ff20;
  padding-top: 18px;
  margin-top: auto;
  font-size: 12px;
  color: #c0d1ef;
}
.brand-panel-bottom > span:last-child {
  margin-right: auto;
  letter-spacing: 3px;
  font-size: 12px;
  color: #91a6cd;
}
.mini-orbit {
  font-size: 20px;
  color: #78a6f6;
}
.journey-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 940px;
  margin: 26px auto 8px;
  gap: 20px;
  padding: 0 20px;
}
.journey-strip > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.journey-number {
  font-size: 12px;
  border: 1px solid #dce5f3;
  background: #fff;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #6983ad;
}
.journey-strip strong {
  display: block;
  font-size: 12px;
}
.journey-strip p > span {
  display: block;
  font-size: 12px;
  color: #8793a7;
}
.journey-strip > .material-symbols-rounded {
  color: #b1bfd4;
  font-size: 17px;
}
.site-footer {
  max-width: 1184px;
  padding: 25px 24px 22px;
  margin: 14px auto 0;
  border-top: 1px solid #e2e8f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #7f8ca3;
}
.site-footer > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.site-footer a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-footer .material-symbols-rounded {
  font-size: 15px;
}
.footer-dot {
  color: #c3ccda;
}
.site-footer a:hover {
  color: #2563eb;
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #0b1d4d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  animation: intro-out 0.4s ease 1.5s forwards;
  pointer-events: auto;
}
.intro img {
  width: 116px;
  filter: brightness(0) invert(1);
  animation: intro-logo 1.3s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
.intro p {
  font-size: 20px;
  font-weight: 700;
  margin-top: 24px;
  animation: enter 0.7s 0.3s both;
}
.intro button {
  position: absolute;
  bottom: 35px;
  background: transparent;
  border: 0;
  color: #bbcceb;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.success-panel {
  height: 100%;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
  animation: enter 0.5s ease;
}
.success-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: #e8f5ef;
  color: #268360;
  border-radius: 50%;
  margin-bottom: 4px;
}
.success-icon .material-symbols-rounded {
  font-size: 40px;
}
.success-panel h1 {
  font-size: 32px;
}
.success-panel p {
  font-size: 15px;
  color: #718097;
}
.receipt {
  width: 100%;
  background: #f5f8ff;
  border: 1px dashed #bdceee;
  padding: 15px;
  border-radius: 12px;
  margin: 5px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.receipt span,
.small-muted {
  font-size: 12px !important;
}
.receipt b {
  font-size: 15px;
  font-family: Arial, sans-serif;
  overflow-wrap: anywhere;
}
.text-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #2563eb;
  margin-top: 5px;
}
.text-link .material-symbols-rounded {
  font-size: 16px;
}
.error-message {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #fff1f3;
  color: #a3263c;
  border: 1px solid #f1cdd3;
  padding: 12px;
  border-radius: 9px;
  font-size: 13px;
  margin: 12px 0;
}
.error-message .material-symbols-rounded {
  font-size: 18px;
  margin-top: 2px;
}
.pending-message {
  font-size: 12px;
  color: #6a7993;
  margin: 12px 0;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float-logo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
@keyframes intro-logo {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.75) rotate(-7deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .registration-main {
    padding-top: 55px;
  }
  .enrollment-layout {
    min-height: 700px;
  }
  .form-panel {
    padding-top: 45px;
  }
  .form-description {
    margin-bottom: 32px;
  }
  .fields-grid {
    gap: 23px 16px;
  }
  .orbit-art {
    height: 290px;
  }
  .brand-panel h2 {
    font-size: 53px;
  }
}
@media (max-width: 1000px) {
  .form-panel {
    padding: 30px 28px 24px;
  }
  .brand-panel {
    padding: 25px 24px 22px;
  }
  .brand-panel h2 {
    font-size: 40px;
  }
  .form-panel h1 {
    font-size: 30px;
  }
  .form-description {
    font-size: 13px;
  }
  .header-inner {
    padding: 0 24px;
  }
  .header-inner nav {
    gap: 24px;
  }
  .data-note {
    font-size: 12px;
  }
  .brand-panel-copy {
    padding: 0;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 80px;
  }
  .header-inner {
    padding: 0 20px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand img {
    width: 37px;
    height: 40px;
  }
  .header-inner nav {
    display: none;
  }
  .header-admin {
    font-size: 12px;
    padding: 8px 11px;
  }
  .registration-main {
    padding: 24px 16px 12px;
  }
  .page-kicker {
    font-size: 12px;
    gap: 9px;
    margin-bottom: 20px;
  }
  .enrollment-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 20px;
  }
  .form-panel {
    padding: 30px 24px;
  }
  .form-panel h1 {
    font-size: 32px;
  }
  .form-description {
    font-size: 14px;
    margin-bottom: 26px;
  }
  .data-note {
    font-size: 12px;
    align-items: flex-start;
  }
  .data-note .material-symbols-rounded {
    margin-top: 3px;
  }
  .brand-panel {
    min-height: 340px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 24px;
    gap: 16px;
  }
  .brand-panel-top {
    grid-column: 1/-1;
  }
  .orbit-art {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 190px;
    margin: 0;
    overflow: visible;
  }
  .hero-symbol {
    width: 102px;
    height: 102px;
  }
  .orbit-one {
    width: 170px;
    height: 170px;
  }
  .orbit-two {
    width: 240px;
    height: 128px;
  }
  .orbit-three {
    width: 222px;
    height: 110px;
  }
  .point-one {
    right: 0;
    top: 38px;
  }
  .point-two {
    left: 0;
    bottom: 38px;
  }
  .spark-one {
    top: 0;
    left: 35px;
  }
  .spark-two {
    bottom: 0;
    right: 35px;
  }
  .brand-panel-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }
  .brand-panel h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .eyebrow.light {
    margin-bottom: 7px;
    font-size: 12px;
  }
  .brand-panel-copy p {
    font-size: 12px;
    line-height: 1.9;
  }
  .brand-panel-bottom {
    grid-column: 1/-1;
    padding-top: 15px;
  }
  .journey-strip {
    gap: 12px;
    padding: 0;
    margin: 24px 0 6px;
  }
  .journey-strip > div {
    gap: 8px;
  }
  .journey-strip strong {
    font-size: 12px;
  }
  .journey-strip p > span {
    font-size: 12px;
  }
  .journey-number {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .journey-strip > .material-symbols-rounded {
    display: none;
  }
  .site-footer {
    margin: 15px 16px 0;
    padding: 20px 0;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
  }
  .success-panel {
    min-height: 540px;
  }
  .fields-grid {
    column-gap: 12px;
  }
}
@media (max-width: 400px) {
  .brand small {
    font-size: 12px;
  }
  .header-admin .material-symbols-rounded {
    display: none;
  }
  .form-panel {
    padding: 25px 19px;
  }
  .form-panel h1 {
    font-size: 29px;
  }
  .fields-grid {
    grid-template-columns: 1fr;
  }
  .field-phone {
    grid-column: 1/-1;
  }
  .journey-strip > div {
    flex-direction: column;
    text-align: center;
  }
  .brand-panel h2 {
    font-size: 29px;
  }
  .brand-panel {
    padding: 22px 18px;
  }
  .page-kicker {
    font-size: 12px;
    gap: 7px;
  }
  .kicker-line {
    width: 14px;
  }
}
.login-main {
  max-width: 1010px;
  margin: 70px auto 90px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
  min-height: 520px;
}
.login-brand > img {
  width: 77px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 22px;
}
.login-brand h1 {
  font-size: 43px;
  font-weight: 900;
  line-height: 1.7;
  letter-spacing: -1.3px;
  margin: 8px 0 15px;
}
.login-brand h1 span {
  color: #2563eb;
}
.login-brand p {
  font-size: 15px;
  color: #71819b;
  line-height: 2;
}
.login-brand-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #4779cf;
  margin-top: 40px;
  font-size: 22px;
}
.login-brand-line span {
  font-size: 12px;
  color: #788aa8;
}
.login-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px;
  box-shadow: 0 12px 60px #18356805;
}
.login-card > .section-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}
.login-card h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.login-card > p {
  font-size: 14px;
  color: #74839a;
  margin: 7px 0 29px;
}
.login-card form > .field {
  margin-bottom: 21px;
}
.login-card .primary-button {
  margin-top: 27px;
}
.login-card .input-wrap input {
  text-align: left;
}
.icon-button {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 4px;
  color: #8999b3;
}
.icon-button .material-symbols-rounded {
  font-size: 19px;
}
.login-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: #8390a5;
  margin: 22px 0 0;
}
.login-security .material-symbols-rounded {
  font-size: 16px;
}
.login-loading {
  padding: 65px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: #7487a7;
  font-size: 14px;
}
.signed-account {
  overflow-wrap: anywhere;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.text-button {
  background: transparent;
  border: 0;
  font-size: 13px;
  color: #2563eb;
  padding: 10px;
  display: block;
  margin: 8px auto 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.admin-main {
  max-width: 1320px;
  padding: 42px 30px 35px;
  margin: auto;
  min-height: calc(100vh - 216px);
}
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.dashboard-heading h1 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.9px;
  margin: 4px 0;
}
.title-dot {
  color: #2563eb;
}
.dashboard-heading p {
  color: #7a88a0;
  font-size: 14px;
}
.account-box {
  display: flex;
  gap: 18px;
  align-items: center;
}
.account-box > span {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #71819a;
}
.secondary-button {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #dce5f1;
  padding: 9px 13px;
  border-radius: 9px;
  color: #647694;
  font-size: 13px;
}
.secondary-button .material-symbols-rounded {
  font-size: 18px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat-card {
  border: 1px solid var(--border);
  background: white;
  border-radius: 16px;
  padding: 23px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-card > div > span {
  color: #7787a0;
  font-size: 13px;
}
.stat-card strong {
  display: block;
  font-family: Cairo, Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  margin-top: 4px;
  line-height: 1.5;
}
.stat-icon {
  width: 50px;
  height: 50px;
  background: #edf4ff;
  border-radius: 14px;
  color: #4e82df;
  display: grid;
  place-items: center;
}
.stat-icon .material-symbols-rounded {
  font-size: 25px;
}
.stat-0 {
  background: #0b1d4d;
  border-color: #0b1d4d;
  color: white;
}
.stat-0 > div > span {
  color: #b4c6e8;
}
.stat-0 .stat-icon {
  background: #ffffff12;
  color: #9bc0ff;
}
.stat-2 .stat-icon {
  background: #ebf6f1;
  color: #3a906f;
}
.records-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.records-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 21px;
}
.records-heading > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.records-heading h2 {
  font-size: 19px;
  font-weight: 800;
}
.connection {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: #3c9170;
}
.connection i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #40a77c;
}
.connection.offline {
  color: #8a7b58;
}
.connection.offline i {
  background: #b59a62;
}
.export-button {
  width: auto;
  font-size: 13px;
  padding: 10px 17px;
  gap: 8px;
}
.export-button .material-symbols-rounded {
  font-size: 18px;
}
.records-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf1f8;
  border-bottom: 1px solid #edf1f8;
  padding: 19px 26px;
  background: #fdfdff;
}
.search-wrap {
  flex: 1;
  max-width: 640px;
  min-height: 43px;
}
.search-wrap input {
  padding: 10px 0;
  font-size: 13px;
}
.search-wrap .material-symbols-rounded {
  font-size: 19px;
}
.filter-select[data-slot] {
  height: 43px !important;
  border-radius: 9px;
  background: #fff;
  min-width: 165px;
  width: auto;
  padding: 8px 13px;
  font-size: 13px;
}
.filter-select [data-slot='select-value'] {
  text-align: right;
}
.students-table {
  min-width: 1000px;
  font-size: 13px;
}
.students-table th {
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: #7989a1;
  background: #f7f9fc;
  padding: 16px 20px;
  height: 48px;
}
.students-table td {
  padding: 18px 20px;
  border-color: #e9eef6;
  color: #526783;
}
.students-table tr {
  border-color: #e9eef6;
}
.student-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.student-avatar {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #edf3ff;
  color: #527ec5;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.student-cell strong {
  display: block;
  color: #1d355b;
  font-size: 13px;
  font-weight: 700;
  max-width: 220px;
  white-space: normal;
}
.student-cell small {
  font-size: 12px;
  font-family: Arial, sans-serif;
  color: #a1acc0;
  display: block;
  margin-top: 2px;
}
.students-table .address-cell {
  max-width: 240px;
  min-width: 150px;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.phone-link {
  font-family: Arial, sans-serif;
  font-size: 13px;
  display: inline-block;
  letter-spacing: 0.3px;
}
.phone-link:hover {
  text-decoration: underline;
  color: #2563eb;
}
.date-cell {
  font-size: 12px;
}
.status-badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 9px;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid #d5e4fc;
  background: #edf4ff;
  color: #4479c5;
  white-space: nowrap;
}
.status-badge > i {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.status-badge.contacted {
  background: #ecf7f0;
  border-color: #d8eee2;
  color: #3b8c66;
}
.status-badge .material-symbols-rounded {
  font-size: 13px;
  opacity: 0.65;
}
.records-bottom {
  border-top: 1px solid #e7edf6;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #8390a6;
}
.records-bottom [data-slot='pagination'] {
  width: auto;
  margin: 0;
}
.page-button {
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #7590b8;
}
.page-button:disabled {
  opacity: 0.35;
  cursor: default;
}
.page-button .material-symbols-rounded {
  font-size: 18px;
}
.page-indicator {
  padding: 0 12px;
  display: block;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #5a7092;
}
.records-empty {
  min-height: 340px;
  gap: 10px;
}
.records-empty [data-slot='empty-title'] {
  font-family: Cairo, Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
}
.records-empty [data-slot='empty-description'] {
  font-size: 13px;
}
.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #eef4ff;
  color: #77a0e1;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
}
.empty-icon .material-symbols-rounded {
  font-size: 32px;
}
.records-loading {
  padding: 35px;
  color: #7a8ba5;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.record-skeleton {
  width: 100%;
  height: 45px;
  background: #edf2fa;
}
.action-notice {
  margin: 15px 25px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3b8c66;
  font-size: 13px;
}
.action-notice .material-symbols-rounded {
  font-size: 18px;
}
.records-error {
  margin: 20px 26px 30px;
}
@media (max-width: 1000px) {
  .login-main {
    gap: 40px;
  }
  .login-card {
    padding: 30px;
  }
  .login-brand h1 {
    font-size: 37px;
  }
  .filter-select[data-slot] {
    min-width: 135px;
  }
  .account-box > span {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .admin-main {
    padding: 32px 22px;
  }
  .stat-card {
    padding: 20px;
  }
  .stats-grid {
    gap: 15px;
  }
  .search-wrap input {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .login-main {
    grid-template-columns: 1fr;
    margin: 30px auto 45px;
    padding: 0 22px;
    gap: 26px;
    max-width: 510px;
    min-height: 0;
  }
  .login-brand {
    display: none;
  }
  .login-card {
    padding: 28px 25px;
  }
  .login-card h2 {
    font-size: 26px;
  }
  .login-card > p {
    font-size: 13px;
  }
  .dashboard-heading {
    align-items: flex-start;
  }
  .dashboard-heading h1 {
    font-size: 26px;
  }
  .dashboard-heading p {
    font-size: 12px;
  }
  .account-box {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
  .account-box > span {
    max-width: 130px;
    font-size: 12px;
  }
  .secondary-button {
    padding: 7px 10px;
    font-size: 12px;
  }
  .admin-main {
    padding: 28px 16px;
  }
  .stats-grid {
    gap: 9px;
    margin-bottom: 20px;
  }
  .stat-card {
    padding: 14px 12px;
    border-radius: 12px;
    position: relative;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
    border-radius: 8px;
    position: absolute;
    left: 10px;
    bottom: 18px;
  }
  .stat-icon .material-symbols-rounded {
    font-size: 17px;
  }
  .stat-card strong {
    font-size: 28px;
    margin-top: 12px;
  }
  .stat-card > div > span {
    font-size: 12px;
  }
  .records-heading {
    padding: 19px 17px;
    gap: 12px;
  }
  .records-heading > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .records-heading h2 {
    font-size: 17px;
  }
  .connection {
    font-size: 12px;
  }
  .export-button {
    font-size: 12px;
    padding: 9px 12px;
  }
  .records-filters {
    flex-wrap: wrap;
    padding: 15px;
    gap: 10px;
  }
  .search-wrap {
    flex-basis: 100%;
    max-width: none;
  }
  .filter-select[data-slot] {
    flex: 1;
    min-width: 0;
    font-size: 12px;
  }
  .records-bottom {
    flex-direction: column;
    gap: 15px;
    padding: 16px;
    font-size: 12px;
  }
  .record-skeleton {
    height: 55px;
  }
  .action-notice {
    margin: 12px 17px;
    font-size: 12px;
  }
  .stats-grid .stat-0 .stat-icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .intro {
    display: none;
  }
}

@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('./assets/fonts/MaterialSymbolsRounded.woff2');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
.form-description {
  font-size: 16px;
}
.students-table {
  font-size: 14px;
}
.student-cell strong {
  font-size: 14px;
}
.phone-link {
  font-size: 14px;
}
.field-error {
  font-size: 13px;
}

/* Native HTML controls. No framework or build step is required. */
[hidden] {
  display: none !important;
}
.input-wrap select {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 0;
  color: #647694;
  outline: none;
  font-size: 14px;
  cursor: pointer;
}
.input-wrap:has([aria-invalid='true']) {
  border-color: #b42336;
}
.students-table {
  width: 100%;
  border-collapse: collapse;
}
.students-table td,
.students-table th {
  border-bottom: 1px solid #e9eef6;
}
.records-scroll {
  overflow-x: auto;
}
.plain-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px;
  text-align: center;
}
.plain-empty p {
  font-size: 14px;
  color: #74839a;
}
.plain-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}
.records-loading {
  min-height: 180px;
  justify-content: center;
  text-align: center;
}
.pending-message {
  display: block;
}
.records-empty h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
select:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

/* Teacher picker (searchable combobox) */
.field-teacher {
  grid-column: 1/-1;
}
.teacher-picker {
  position: relative;
}
.teacher-input svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: #8a9ab4;
  stroke-width: 2;
  stroke-linecap: round;
}
.teacher-input.has-selection .teacher-search-icon {
  display: none;
}
.teacher-selected-avatar:empty {
  display: none;
}
.teacher-subject-pill {
  flex: none;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
}
.teacher-clear {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  margin-inline-end: -6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.teacher-clear:hover {
  background: #eef3fa;
}
.teacher-clear svg {
  width: 16px;
  height: 16px;
}
.teacher-options {
  position: absolute;
  z-index: 20;
  inset-inline: 0;
  top: calc(100% + 6px);
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: white;
  border: 1px solid #e0e6f0;
  border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(11, 29, 77, 0.35);
  overscroll-behavior: contain;
  animation: teacher-pop 0.16s ease-out;
}
@keyframes teacher-pop {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
.teacher-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
}
.teacher-option.is-active,
.teacher-option:hover {
  background: #eef4ff;
}
.teacher-option[aria-selected='true'] {
  background: #e3edff;
}
.teacher-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.45;
}
.teacher-meta strong {
  font-size: 14px;
  color: #0b1d4d;
}
.teacher-meta small {
  font-size: 12px;
  color: #6b7a93;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.teacher-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbe7ff, #eef3fa);
  color: #2563eb;
  font-weight: 800;
  font-size: 15px;
}
.teacher-input .teacher-avatar {
  width: 30px;
  height: 30px;
  font-size: 13px;
}
.teacher-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-empty {
  padding: 16px 12px;
  color: #6b7a93;
  font-size: 13px;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .teacher-options {
    animation: none;
  }
}
