:root {
  --bg: #121625;
  --panel: #2b3978;
  --panel-dark: #171c31;
  --line: #4b5f9a;
  --text: #eff3ff;
  --muted: #eff3ff;
  --cyan: #5dc8df;
  --yellow: #ffd15c;
  --pink: #ff5d9d;
  --green: #67ef80;
  --purple: #b491ff;
  --orange: #ff963d;
  --red: #ff5a5a;
  --shadow: #05070e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Courier New", Courier, monospace;
  image-rendering: pixelated;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  transition: transform 90ms ease, box-shadow 90ms ease, filter 90ms ease, opacity 90ms ease;
}

button:active:not(:disabled) {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--shadow);
  filter: brightness(1.12);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  filter: grayscale(0.25);
}

button[aria-busy="true"] {
  cursor: wait;
}

button:focus-visible,
input:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

input::placeholder,
textarea::placeholder {
  color: var(--text);
  opacity: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2.8fr) minmax(140px, 0.8fr);
  align-items: stretch;
  gap: 16px;
  min-height: 92px;
  padding: 0 7vw;
  background: var(--panel);
  border-bottom: 8px solid var(--shadow);
}

.brand,
.nav-link,
.balance-pill,
.pixel-button,
.filter-chip,
.tab,
.subject-card {
  border: 0;
  color: #06101c;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 0;
  text-align: left;
}

.brand-mark {
  color: var(--cyan);
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1;
}

.brand-text {
  color: var(--yellow);
  font-size: clamp(20px, 1.7vw, 30px);
  line-height: 1;
  white-space: nowrap;
}

.brand-text span {
  color: var(--pink);
}

.nav {
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 118px;
  justify-content: center;
  padding: 0 16px;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}

.nav-link.is-active {
  background: var(--cyan);
  color: #020712;
}

.balance-pill {
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  background: var(--panel-dark);
  color: var(--yellow);
  border: 5px solid var(--yellow);
  box-shadow: 6px 6px 0 var(--shadow);
}

.top-actions {
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--panel-dark);
  color: var(--yellow);
  border: 5px solid var(--purple);
  box-shadow: 6px 6px 0 var(--shadow);
  font-weight: 900;
}

.notification-bell svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.notification-bell strong {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #06101c;
  border: 3px solid #06101c;
  font-size: 12px;
  line-height: 1;
}

.balance-pill span {
  color: var(--muted);
}

.page-shell {
  width: min(1740px, calc(100% - 64px));
  margin: 42px auto 88px;
}

.footer {
  margin-top: auto;
  padding: 28px;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
  font-weight: 900;
  border-top: 4px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 0;
  margin-bottom: 18px;
}

.footer-links button {
  position: relative;
  padding: 0;
  margin: 0 18px;
  background: transparent;
  color: var(--pink);
  font: inherit;
  font-size: 15px;
  border: 0;
  cursor: pointer;
}

.footer-links button + button::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 4px;
  height: 18px;
  background: var(--shadow);
  transform: translateY(-50%);
}

.footer-links button:hover {
  color: var(--yellow);
}

.footer-payment-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(456px, 100%);
  min-height: 46px;
  margin: 0 auto 18px;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  background: var(--deep);
  border: 3px solid var(--line);
}

.footer-payment-band img {
  width: 92px;
  max-width: 42%;
  height: auto;
}

.footer-payment-band span {
  line-height: 1;
}

.footer-contact {
  max-width: 680px;
  margin: 0 auto 14px;
  color: var(--text);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.45;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  width: max-content;
  max-width: min(620px, calc(100vw - 48px));
  padding: 18px 22px;
  transform: translateX(-50%);
  background: var(--yellow);
  color: #07101f;
  font-weight: 900;
  border: 4px solid #07101f;
  box-shadow: 8px 8px 0 var(--shadow);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 80;
  width: 64px;
  height: 64px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #06101f;
  border: 4px solid #07101f;
  box-shadow: 7px 7px 0 var(--shadow);
  cursor: pointer;
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  display: block;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--shadow);
}

.loading-banner {
  position: sticky;
  top: 108px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 18px;
  padding: 0 16px;
  background: var(--cyan);
  color: #07101f;
  border: 4px solid #07101f;
  box-shadow: 7px 7px 0 var(--shadow);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
}

.loading-banner span {
  width: 14px;
  height: 14px;
  border: 4px solid #07101f;
  border-top-color: transparent;
  animation: spin 700ms steps(8) infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.pixel-panel,
.teacher-card,
.package-card,
.lesson-card,
.subject-card,
.stat-card {
  background: var(--panel);
  box-shadow: 10px 10px 0 var(--shadow);
}

.cyan-frame { border: 5px solid var(--cyan); }
.yellow-frame { border: 5px solid var(--yellow); }
.pink-frame { border: 5px solid var(--pink); }
.green-frame { border: 5px solid var(--green); }
.purple-frame { border: 5px solid var(--purple); }
.orange-frame { border: 5px solid var(--orange); }
.red-frame { border: 5px solid var(--red); }

.cyan { background: var(--cyan); color: #06101c; }
.yellow { background: var(--yellow); color: #06101c; }
.pink { background: var(--pink); color: #06101c; }
.green { background: var(--green); color: #06101c; }
.purple { background: var(--purple); color: #06101c; }
.orange { background: var(--orange); color: #06101c; }
.red { background: var(--red); color: #06101c; }

.cyan-text { color: var(--cyan); }
.yellow-text { color: var(--yellow); }
.pink-text { color: var(--pink); }
.green-text { color: var(--green); }
.purple-text { color: var(--purple); }
.orange-text { color: var(--orange); }
.red-text { color: var(--red); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 430px;
  padding: clamp(34px, 5vw, 68px);
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-title {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 24px;
  color: var(--muted);
}

h1 {
  margin: 18px 0 34px;
  color: var(--text);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.15;
  text-transform: uppercase;
}

.hero p:not(.eyebrow),
.balance-hero p,
.package-card p,
.teacher-card p {
  color: #c6cde4;
  font-size: 22px;
  line-height: 1.7;
  font-weight: 700;
}

.button-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.pixel-button {
  min-height: 56px;
  padding: 0 28px;
  box-shadow: 7px 7px 0 var(--shadow);
}

.top-application-button {
  min-height: 54px;
  padding: 0 18px;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 6px 6px 0 var(--shadow);
}

.hero-subjects {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 18px;
}

.hero-subject-card,
.hero-subject-status {
  display: grid;
  align-content: center;
  min-height: 104px;
  padding: 14px;
  background: var(--panel-dark);
  color: var(--text);
  text-align: left;
  box-shadow: 7px 7px 0 var(--shadow);
}

.hero-subject-card strong,
.hero-subject-card small {
  display: block;
}

.hero-subject-card strong {
  font-size: 24px;
  line-height: 1.2;
}

.hero-subject-card small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 900;
}

.hero-subject-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  border: 4px solid var(--line);
}

.hero-subject-status span {
  width: 22px;
  height: 22px;
  border: 5px solid var(--cyan);
  border-top-color: transparent;
  animation: spin 700ms steps(8) infinite;
}

.balance-card,
.balance-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 56px 0;
  padding: 34px 42px;
}

.huge-number {
  color: var(--yellow);
  font-size: clamp(58px, 8vw, 86px);
  font-weight: 900;
  line-height: 1;
}

.huge-number span {
  margin-left: 14px;
  color: var(--muted);
  font-size: 28px;
}

.mini-meter {
  width: 140px;
  height: 18px;
  margin-top: 24px;
  padding: 4px;
  background: var(--panel-dark);
  border: 4px solid var(--line);
}

.mini-meter span {
  display: block;
  height: 100%;
  background: var(--yellow);
}

.subject-grid,
.teacher-grid,
.package-grid,
.stat-grid {
  display: grid;
  gap: 28px;
}

.home-package-grid {
  margin-bottom: 42px;
}

.subject-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.subject-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 170px;
  padding: 24px;
  color: var(--text);
  text-align: center;
}

.subject-card strong,
.subject-card small {
  display: block;
}

.subject-card strong {
  max-width: 100%;
  font-size: clamp(20px, 1.45vw, 30px);
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
}

.subject-card small {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  text-transform: none;
}

.stat-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
}

.stat-card {
  padding: 34px 22px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--yellow);
  font-size: 36px;
}

.stat-card span,
.result-count {
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}

.search-panel {
  margin-bottom: 34px;
}

.date-search-panel {
  margin-bottom: 34px;
  padding: 24px;
}

.date-search-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.date-search-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.date-search-form select {
  min-height: 56px;
  padding: 0 14px;
  background: var(--panel-dark);
  color: var(--text);
  border: 4px solid var(--line);
  font: inherit;
  font-weight: 900;
}

.date-search-results {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.date-search-card {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--panel);
}

.date-search-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.date-search-card p {
  margin: 0;
  color: var(--muted);
}

.date-slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.date-slot-chip {
  display: grid;
  gap: 4px;
  min-width: 116px;
  padding: 10px 12px;
  background: var(--panel-dark);
  color: var(--text);
  border: 3px solid var(--line);
  text-align: left;
}

.date-slot-chip strong {
  color: var(--yellow);
}

.date-slot-chip small {
  color: var(--muted);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 0 20px;
  background: var(--panel);
  border: 5px solid var(--line);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.filter-chip,
.tab {
  min-height: 44px;
  padding: 0 18px;
  background: var(--panel);
  color: var(--text);
  border: 4px solid var(--line);
}

.filter-chip.is-active,
.tab.is-active {
  background: var(--cyan);
  color: #06101c;
  border-color: var(--cyan);
  box-shadow: 5px 5px 0 var(--shadow);
}

.teacher-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  align-items: stretch;
}

.teacher-card,
.package-card {
  padding: 28px;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.package-card {
  display: flex;
  flex-direction: column;
}

.teacher-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.avatar {
  display: grid;
  width: 150px;
  height: 180px;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 58px;
  font-weight: 900;
}

.teacher-photo {
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.teacher-card h2,
.lesson-card h2 {
  margin: 6px 0 14px;
  font-size: 22px;
}

.teacher-education {
  margin: -6px 0 12px;
  color: var(--yellow);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.modal-teacher-education {
  margin: 4px 0 10px;
  color: var(--cyan);
  font-size: 16px;
}

.teacher-card-info {
  min-width: 0;
}

.teacher-subject-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.teacher-card-tags {
  min-height: 84px;
  align-content: flex-start;
}

.teacher-tags span {
  padding: 8px 10px;
  background: var(--panel-dark);
  border: 2px solid var(--line);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.status::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: currentColor;
}

.status.busy {
  color: var(--red);
}

.status.waiting {
  color: var(--yellow);
}

.status.off {
  color: var(--purple);
}

.subject-badge,
.package-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.teacher-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.teacher-card-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(250px, 1.05fr);
  gap: 24px;
  align-items: end;
  margin-top: 6px;
}

.teacher-card-bottom .teacher-metrics {
  margin: 0;
}

.teacher-metrics span {
  display: grid;
  min-height: 82px;
  place-items: center;
  background: var(--panel-dark);
  border: 4px solid var(--line);
  font-size: 22px;
  font-weight: 900;
}

.teacher-metrics small,
.lesson-spend small,
.package-buy small,
.schedule-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.teacher-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.teacher-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: end;
  align-items: end;
  gap: 18px;
  justify-content: stretch;
  margin-top: 0;
}

.teacher-card-rating {
  justify-self: start;
  align-self: start;
  grid-column: 2;
  margin-top: 8px;
  white-space: nowrap;
}

.teacher-card-actions .pixel-button {
  width: 100%;
  min-height: 82px;
  padding-inline: 14px;
}

.teacher-card .teacher-card-bio {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

.rating {
  color: var(--yellow);
  font-weight: 900;
}

.rating i {
  color: var(--muted);
  font-style: normal;
}

.balance-hero {
  min-height: 280px;
  margin-top: 0;
}

.floating-diamond {
  color: var(--muted);
  font-size: 70px;
}

.home-scale {
  zoom: 0.8;
}

@supports not (zoom: 1) {
  .home-scale {
    width: 125%;
    transform: scale(0.8);
    transform-origin: top left;
  }
}

.steps {
  padding: 30px 36px;
  margin-bottom: 42px;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 900;
}

.step strong {
  display: grid;
  min-width: 58px;
  min-height: 42px;
  place-items: center;
}

.package-grid {
  grid-template-columns: repeat(4, 1fr);
}

.checkout-payment-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px 18px;
  background: var(--panel);
  border: 4px solid var(--line);
  box-shadow: 8px 8px 0 var(--shadow);
}

.checkout-payment-mark img {
  width: 112px;
  max-width: 45%;
  height: auto;
}

.checkout-payment-mark strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.package-minutes {
  display: block;
  margin-top: 24px;
  color: var(--yellow);
  font-size: 68px;
  line-height: 1;
}

.bonus {
  margin: 28px 0 20px;
  padding: 18px;
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
  border: 4px solid var(--green);
}

.bonus-placeholder {
  visibility: hidden;
}

.package-buy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 4px solid var(--line);
}

.package-buy strong {
  color: var(--yellow);
  font-size: 38px;
}

.legal-page {
  width: min(980px, 100%);
  margin: 0 auto;
}

.legal-page h1 {
  margin: 0 0 28px;
  color: var(--text);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.legal-page article {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 4px solid var(--line);
}

.legal-page h2 {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 26px;
}

.legal-page p {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.7;
}

.legal-note {
  margin-top: 32px !important;
  padding: 18px;
  color: var(--purple) !important;
  border: 4px solid var(--purple);
}

.tabs {
  display: flex;
  margin-bottom: 34px;
}

.tab {
  min-width: 220px;
  min-height: 64px;
  font-size: 18px;
}

.lesson-list {
  display: grid;
  gap: 24px;
}

.lesson-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
}

.lesson-card p {
  margin: 0;
  color: #c6cde4;
  font-size: 24px;
  font-weight: 900;
}

.lesson-spend {
  text-align: right;
}

.lesson-spend strong {
  color: var(--yellow);
  font-size: 24px;
}

.lesson-state {
  padding: 10px 14px;
  color: var(--cyan);
  border: 4px solid var(--cyan);
  text-transform: uppercase;
  font-weight: 900;
}

.lesson-state.past {
  color: var(--green);
  border-color: var(--green);
}

.lesson-state.cancelled {
  color: var(--red);
  border-color: var(--red);
}

.empty-state {
  padding: 34px;
  border: 4px solid var(--line);
}

.empty-state h2 {
  margin: 18px 0 10px;
  color: var(--cyan);
  font-size: 30px;
}

.empty-state p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #c6cde4;
  font-size: 22px;
  font-weight: 900;
}

.loading-state {
  display: flex;
  align-items: center;
  gap: 18px;
}

.loading-state span {
  width: 24px;
  height: 24px;
  border: 5px solid var(--cyan);
  border-top-color: transparent;
  animation: spin 700ms steps(8) infinite;
}

.loading-state h2 {
  margin: 0;
}

.schedule-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
  padding: 28px;
  border: 4px solid var(--line);
  text-align: center;
}

.schedule-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 46px;
  margin-bottom: 34px;
}

.admin-hero h1 {
  margin-bottom: 0;
  font-size: clamp(40px, 5vw, 64px);
}

.admin-health {
  display: grid;
  gap: 10px;
  min-width: 260px;
  padding: 24px;
  background: var(--panel-dark);
  border: 4px solid var(--line);
}

.admin-health strong {
  color: var(--yellow);
  font-size: 24px;
}

.admin-health small {
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.muted-copy {
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.admin-stat {
  min-height: 118px;
  padding: 20px;
  background: var(--panel);
  box-shadow: 7px 7px 0 var(--shadow);
}

.admin-stat small {
  display: block;
  min-height: 34px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}

.admin-stat strong {
  display: block;
  margin-top: 16px;
  color: var(--yellow);
  font-size: 28px;
  line-height: 1.1;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 12px 0 26px;
}

.admin-refresh-row {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 24px;
}

.admin-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.admin-card {
  padding: 26px;
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--shadow);
}

.admin-kpi {
  color: var(--yellow);
  font-size: 54px;
  font-weight: 900;
}

.admin-card p {
  color: #c6cde4;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.admin-table {
  padding: 24px;
  border: 4px solid var(--line);
}

.admin-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-table-head h2 {
  margin: 0;
  font-size: 28px;
}

.admin-head-note {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  background: var(--panel-dark);
  color: var(--muted);
  border: 3px solid var(--line);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.admin-toolbar {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-search {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 260px;
  background: var(--panel-dark);
  border: 4px solid var(--line);
}

.admin-search span {
  padding-left: 14px;
  color: var(--cyan);
  font-weight: 900;
}

.admin-search input,
.admin-filter,
.admin-search-button {
  min-height: 52px;
  color: var(--text);
  outline: 0;
  font-weight: 900;
}

.admin-search input {
  width: 100%;
  padding: 0 14px;
  background: transparent;
  border: 0;
}

.admin-search-button {
  width: 64px;
  background: var(--cyan);
  color: #06101c;
  border: 4px solid var(--cyan);
  box-shadow: 4px 4px 0 var(--shadow);
  font-size: 28px;
  cursor: pointer;
}

.admin-filter {
  min-width: 180px;
  padding: 0 12px;
  background: var(--panel-dark);
  border: 4px solid var(--line);
}

.admin-table-scroll {
  max-height: min(58vh, 620px);
  overflow: auto;
  padding-right: 8px;
}

.admin-row {
  min-width: 920px;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 0.8fr)) minmax(120px, auto);
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  background: var(--panel-dark);
  border: 3px solid var(--line);
}

.admin-row + .admin-row {
  margin-top: 12px;
}

.admin-row.ledger-row {
  grid-template-columns: minmax(220px, 1.2fr) minmax(220px, 1fr) minmax(120px, 0.7fr) minmax(140px, 0.7fr);
  align-items: start;
}

.admin-row.ledger-row > div {
  display: grid;
  gap: 6px;
  align-content: start;
}

.admin-row.application-row {
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.8fr) minmax(220px, 1fr) minmax(110px, 0.6fr) minmax(190px, 1fr);
  align-items: start;
}

.admin-row.payment-row {
  min-width: 1180px;
  grid-template-columns: minmax(220px, 1.1fr) minmax(230px, 1.1fr) minmax(190px, 0.9fr) minmax(120px, 0.6fr) minmax(150px, 0.7fr) minmax(230px, 1fr);
  align-items: start;
}

.admin-row.column-head {
  min-height: 48px;
  background: var(--panel);
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 900;
}

.admin-row.column-head + .admin-row {
  margin-top: 12px;
}

.admin-row.admin-empty {
  min-width: 0;
  grid-template-columns: 1fr;
  color: var(--muted);
  font-weight: 900;
}

.admin-row b,
.admin-row small {
  display: block;
}

.admin-row small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 900;
}

.mini-action {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  box-shadow: 4px 4px 0 var(--shadow);
  text-transform: uppercase;
  font-weight: 900;
}

.info-action {
  width: 42px;
  padding: 0;
  border-radius: 50%;
  font-size: 20px;
  text-transform: none;
}

.auth-layout,
.profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
}

.auth-layout-single {
  justify-items: start;
}

.profile-grid {
  grid-template-columns: repeat(3, 1fr);
}

.auth-card,
.auth-side,
.profile-card {
  padding: 34px;
}

.auth-card-compact {
  width: min(620px, 100%);
  padding: 30px;
}

.auth-card-compact .section-title {
  margin-bottom: 18px;
}

.auth-card-compact h1 {
  margin: 0 0 26px;
  font-size: clamp(48px, 8vw, 76px);
  line-height: 1;
}

.auth-card label,
.profile-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}

.auth-card-compact label {
  gap: 6px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 14px;
}

.auth-card input,
.profile-form input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  min-height: 62px;
  padding: 0 16px;
  background: var(--panel-dark);
  color: var(--text);
  border: 4px solid var(--line);
  outline: 0;
}

.auth-card-compact input {
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 16px;
}

.password-input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 10px;
}

.password-input-wrap input {
  min-width: 0;
}

.password-input-wrap button {
  min-width: 92px;
  padding: 0 12px;
  background: var(--purple);
  color: #06101c;
  border: 4px solid var(--line);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.password-input-wrap button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.admin-form textarea {
  min-height: 132px;
  padding-top: 14px;
  resize: vertical;
}

.auth-card input:focus,
.profile-form input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--cyan);
}

.auth-layout.is-busy .auth-card {
  position: relative;
}

.auth-card input:disabled,
.auth-card button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.auth-busy-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  margin: 0 0 18px;
  padding: 0 16px;
  background: var(--panel-dark);
  border: 4px solid var(--yellow);
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--shadow);
}

.auth-card-compact .auth-busy-notice {
  min-height: 48px;
  margin-bottom: 12px;
  padding: 0 12px;
  font-size: 14px;
}

.auth-busy-notice span {
  width: 18px;
  height: 18px;
  border: 4px solid currentColor;
  border-top-color: transparent;
  animation: spin 700ms steps(8) infinite;
}

.auth-submit[aria-busy="true"] {
  background: var(--yellow);
  color: #06101c;
}

.text-switch {
  display: block;
  margin-top: 16px;
  background: transparent;
  color: var(--cyan);
  border: 0;
  text-transform: uppercase;
  font-weight: 900;
}

.auth-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
}

.auth-secondary-actions .text-switch {
  margin-top: 14px;
}

.auth-login-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(130px, 0.92fr) minmax(130px, 0.92fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 18px;
}

.auth-login-actions .auth-submit {
  min-width: 0;
  width: 100%;
  padding-inline: 12px;
}

.auth-social-button {
  min-height: 56px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 12px;
  border: 4px solid var(--line);
  box-shadow: 6px 6px 0 var(--shadow);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.auth-social-google {
  background: var(--cyan);
  color: #06101c;
}

.auth-social-apple {
  background: var(--panel-dark);
  color: var(--text);
  border-color: var(--purple);
}

.auth-social-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.auth-card-compact .pixel-button {
  min-height: 56px;
  padding: 0 28px;
  box-shadow: 6px 6px 0 var(--shadow);
  font-size: 18px;
}

.auth-card-compact .text-switch {
  font-size: 15px;
}

.auth-side p,
.profile-card p {
  color: #c6cde4;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.profile-card h1 {
  font-size: clamp(34px, 4vw, 54px);
}

.profile-actions {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.profile-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.profile-logout {
  margin-top: 24px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: start center;
  padding: 34px 24px;
  overflow-y: auto;
  background:
    linear-gradient(rgba(5, 7, 14, 0.86), rgba(5, 7, 14, 0.86)),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(75, 95, 154, 0.28) 58px 62px);
}

.notification-backdrop {
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 108px;
}

.notification-panel {
  width: min(520px, calc(100vw - 36px));
  max-height: min(760px, calc(100vh - 140px));
  margin-right: 28px;
  padding: 28px;
  overflow: auto;
}

.notification-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.notification-head h2 {
  margin: 10px 0 0;
  font-size: 34px;
}

.notification-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.notification-list {
  display: grid;
  gap: 12px;
}

.notification-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  width: 100%;
  padding: 16px;
  background: var(--panel-dark);
  color: var(--text);
  border: 3px solid var(--line);
  text-align: left;
  box-shadow: 5px 5px 0 var(--shadow);
}

.notification-row.is-read {
  opacity: 0.68;
}

.notification-row strong,
.notification-row p,
.notification-row small {
  display: block;
  margin: 0;
}

.notification-row p {
  margin-top: 8px;
  color: var(--text);
  line-height: 1.35;
}

.notification-row small {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
}

.teacher-modal {
  position: relative;
  width: min(1120px, 100%);
  padding: 66px 52px 52px;
  background: var(--panel);
  box-shadow: 12px 12px 0 var(--shadow);
}

.booking-modal {
  width: min(672px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 36px 30px 30px;
  box-shadow: 8px 8px 0 var(--shadow);
  overflow-y: auto;
}

.admin-form-modal {
  width: min(960px, 100%);
}

.teacher-admin-modal {
  width: min(820px, calc(100vw - 32px));
  max-height: calc(100vh - 28px);
  padding: 34px 30px 28px;
  overflow-y: auto;
}

.admin-detail-modal {
  width: min(1280px, 100%);
}

.lesson-modal {
  width: min(940px, 100%);
  max-height: calc(100vh - 56px);
  padding: 44px 38px 38px;
  overflow-y: auto;
}

.payment-modal {
  width: min(780px, calc(100vw - 36px));
  max-height: calc(100vh - 24px);
  padding: 24px;
  overflow-y: auto;
}

.payment-modal.is-paytr {
  width: min(760px, calc(100vw - 24px));
  padding: 12px;
}

.teacher-application-modal {
  width: min(620px, calc(100vw - 36px));
  max-height: calc(100vh - 24px);
  padding: 30px 30px 24px;
  overflow-y: auto;
}

.payment-modal .modal-close {
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  font-size: 24px;
}

.payment-modal.is-paytr .modal-close {
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  font-size: 18px;
  box-shadow: 4px 4px 0 var(--shadow);
}

.teacher-application-modal .modal-close {
  top: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  font-size: 24px;
}

.modal-head.compact {
  display: block;
  padding-right: 98px;
}

.teacher-application-modal .modal-head.compact {
  padding-right: 68px;
}

.admin-form {
  margin-top: 34px;
}

.teacher-admin-form {
  margin-top: 18px;
}

.admin-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.teacher-admin-form .admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.teacher-admin-form label {
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
}

.teacher-admin-form input,
.teacher-admin-form select {
  min-height: 48px;
  padding: 0 12px;
}

.teacher-admin-form textarea {
  min-height: 92px;
  padding: 12px;
}

.teacher-admin-form .checkbox-field {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.teacher-admin-form .checkbox-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.teacher-admin-form .checkbox-chip {
  min-height: 46px;
  padding: 8px 10px;
  margin: 0;
}

.teacher-admin-form .modal-cost {
  margin-top: 14px;
  padding: 14px;
}

.teacher-application-form {
  margin-top: 18px;
}

.teacher-application-form .admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.teacher-application-form label {
  gap: 6px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 13px;
}

.teacher-application-form input,
.teacher-application-form textarea {
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 15px;
}

.teacher-application-form textarea {
  min-height: 72px;
  padding-top: 10px;
  resize: none;
}

.teacher-application-form .modal-cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
}

.teacher-application-form .modal-cost strong {
  margin-top: 4px;
  font-size: 20px;
}

.teacher-application-form .lesson-actions {
  gap: 12px;
}

.teacher-application-form .reserve-button {
  min-width: 130px;
  min-height: 52px;
  box-shadow: 5px 5px 0 var(--shadow);
  font-size: 16px;
}

.admin-detail-section {
  margin-top: 40px;
}

.admin-detail-section .admin-row {
  grid-template-columns: minmax(220px, 1.35fr) minmax(160px, 1fr) minmax(140px, 0.8fr) minmax(100px, 0.6fr) minmax(120px, 0.8fr);
}

.modal-close {
  position: absolute;
  top: 48px;
  right: 50px;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  background: var(--red);
  color: #05070e;
  border: 0;
  box-shadow: 7px 7px 0 var(--shadow);
  font-size: 24px;
  font-weight: 900;
}

.booking-modal .modal-close {
  top: 28px;
  right: 30px;
  width: 44px;
  height: 44px;
  box-shadow: 5px 5px 0 var(--shadow);
  font-size: 18px;
}

.lesson-modal .modal-close {
  top: 34px;
  right: 38px;
  width: 54px;
  height: 54px;
}

.modal-head {
  display: grid;
  grid-template-columns: 146px 1fr;
  gap: 32px;
  align-items: center;
  padding-right: 98px;
}

.booking-modal .modal-head {
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding-right: 68px;
}

.lesson-modal .modal-head {
  grid-template-columns: 112px 1fr;
  gap: 24px;
}

.modal-avatar {
  display: grid;
  width: 146px;
  height: 146px;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 42px;
  font-weight: 900;
}

.teacher-photo-preview img {
  display: block;
  width: 160px;
  height: 160px;
  margin-bottom: 18px;
  object-fit: cover;
  border: 4px solid var(--line);
  box-shadow: 6px 6px 0 var(--shadow);
}

.remove-photo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 12px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.remove-photo-toggle input {
  width: 20px;
  height: 20px;
}

.booking-modal .modal-avatar {
  width: 88px;
  height: 88px;
  font-size: 28px;
}

.lesson-modal .modal-avatar {
  width: 112px;
  height: 112px;
  font-size: 34px;
}

.modal-head h2,
.modal-head h3 {
  margin: 0;
  font-size: 30px;
}

.booking-modal .modal-head h2,
.booking-modal .modal-head h3 {
  font-size: 22px;
}

.payment-modal .modal-head h2 {
  font-size: 21px;
}

.payment-modal .modal-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-modal.is-paytr .modal-head {
  margin-bottom: 10px;
}

.payment-modal.is-paytr .modal-head h2 {
  font-size: 18px;
}

.teacher-application-modal .modal-head h2 {
  font-size: 24px;
}

.lesson-modal .modal-head h2 {
  font-size: 26px;
}

.modal-head h3 {
  margin-top: 28px;
  color: var(--pink);
  font-size: 34px;
}

.booking-modal .modal-head h3 {
  margin-top: 14px;
  font-size: 24px;
}

.teacher-application-modal .modal-head h3 {
  margin-top: 10px;
  font-size: 18px;
}

.payment-title {
  display: grid;
  gap: 10px;
  padding-right: 66px;
}

.payment-modal.is-paytr .payment-title {
  padding-right: 58px;
}

.payment-modal.is-paytr .payment-title strong {
  font-size: 22px;
}

.payment-title .package-label {
  min-height: 28px;
  padding: 0 10px;
  font-size: 14px;
}

.payment-title strong {
  display: block;
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 22px;
}

.paytr-inline-logo {
  width: 88px;
  height: auto;
}

.payment-secure-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.payment-secure-mark img {
  width: 124px;
  height: 30px;
  object-fit: contain;
}

.lesson-modal .modal-head h3 {
  margin-top: 18px;
  font-size: 28px;
}

.modal-rating {
  margin-top: 34px;
  color: var(--yellow);
  font-size: 30px;
  font-weight: 900;
}

.booking-modal .modal-rating {
  margin-top: 16px;
  font-size: 19px;
}

.lesson-modal .modal-rating {
  margin-top: 22px;
  font-size: 24px;
}

.modal-rating i,
.modal-rating span {
  color: var(--muted);
  font-style: normal;
}

.modal-about,
.modal-cost {
  margin-top: 58px;
  padding: 26px;
  background: var(--panel-dark);
  border: 4px solid var(--line);
}

.booking-modal .modal-about,
.booking-modal .modal-cost {
  margin-top: 24px;
  padding: 16px;
}

.lesson-modal .modal-about,
.lesson-modal .modal-cost {
  margin-top: 28px;
  padding: 22px;
}

.modal-about p {
  margin: 0;
  color: #d4daef;
  font-size: 30px;
  line-height: 1.55;
  font-weight: 900;
}

.booking-modal .modal-about p {
  font-size: 20px;
  line-height: 1.4;
}

.lesson-modal .modal-about p {
  font-size: 24px;
  line-height: 1.45;
}

.modal-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.booking-modal .modal-metrics {
  gap: 12px;
  margin-top: 22px;
}

.lesson-modal .modal-metrics {
  margin-top: 28px;
}

.modal-metric {
  display: grid;
  min-height: 138px;
  place-items: center;
  background: var(--panel-dark);
  border: 4px solid var(--line);
  text-align: center;
}

.booking-modal .modal-metric {
  min-height: 88px;
}

.lesson-modal .modal-metric {
  min-height: 112px;
}

.modal-metric small,
.modal-cost small {
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}

.modal-metric strong {
  font-size: 32px;
}

.booking-modal .modal-metric strong {
  font-size: 22px;
}

.lesson-modal .modal-metric strong {
  font-size: 28px;
}

.modal-schedule {
  margin-top: 40px;
}

.booking-modal .modal-schedule {
  margin-top: 24px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.booking-modal .schedule-row {
  grid-template-columns: 86px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.schedule-row > span {
  display: grid;
  min-height: 44px;
  place-items: center;
  color: var(--pink);
  border: 4px solid var(--pink);
  font-size: 22px;
  font-weight: 900;
}

.booking-modal .schedule-row > span {
  min-height: 48px;
  font-size: 16px;
}

.schedule-row > span small {
  color: var(--text);
  font-size: 10px;
}

.schedule-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-button {
  min-width: 118px;
  min-height: 72px;
  background: var(--panel-dark);
  color: #d4daef;
  border: 4px solid var(--line);
  font-size: 30px;
  font-weight: 900;
}

.booking-modal .slot-button {
  min-width: 86px;
  min-height: 54px;
  font-size: 20px;
}

.slot-button span,
.slot-button small {
  display: block;
}

.slot-button small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.booking-modal .slot-button small {
  margin-top: 4px;
  font-size: 10px;
}

.slot-button.is-active {
  background: var(--yellow);
  color: #06101c;
  border-color: var(--yellow);
  box-shadow: 6px 6px 0 var(--shadow);
}

.slot-button.is-active small {
  color: #26304e;
}

.duration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.booking-modal .duration-row {
  gap: 8px;
  margin-top: 12px;
}

.duration-button {
  min-width: 100px;
  min-height: 58px;
  background: var(--panel-dark);
  color: var(--text);
  border: 3px solid var(--line);
  font-family: inherit;
  font-weight: 900;
}

.booking-modal .duration-button {
  min-width: 76px;
  min-height: 48px;
}

.duration-button span,
.duration-button small {
  display: block;
}

.duration-button small {
  color: var(--muted);
  font-size: 12px;
}

.duration-button.is-active {
  background: var(--cyan);
  color: #06101c;
  border-color: var(--cyan);
}

.duration-button.is-active small {
  color: #26304e;
}

.modal-cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
}

.booking-modal .modal-cost {
  gap: 14px;
  margin-top: 24px;
}

.modal-cost strong {
  display: block;
  margin-top: 26px;
  color: var(--yellow);
  font-size: 38px;
}

.booking-modal .modal-cost strong {
  margin-top: 12px;
  font-size: 24px;
}

.lesson-modal .modal-cost strong {
  margin-top: 16px;
  font-size: 30px;
}

.reserve-button {
  min-width: 246px;
  min-height: 78px;
  background: var(--cyan);
  color: #06101c;
  border: 0;
  box-shadow: 7px 7px 0 var(--shadow);
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 900;
}

.booking-modal .reserve-button {
  min-width: 150px;
  min-height: 54px;
  box-shadow: 5px 5px 0 var(--shadow);
  font-size: 16px;
}

.payment-logo-row {
  display: flex;
  justify-content: center;
  margin: 12px 0;
  padding: 10px;
  background: var(--deep);
  border: 4px solid var(--line);
}

.payment-logo-row img {
  width: min(260px, 100%);
  height: auto;
}

.payment-form {
  display: grid;
  gap: 12px;
}

.payment-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 900;
}

.payment-form span {
  color: var(--text);
  font-size: 13px;
}

.payment-form input {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  background: var(--deep);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  border: 4px solid var(--line);
  outline: 0;
}

.payment-form input:focus {
  border-color: var(--yellow);
}

.paytr-frame-shell {
  width: 100%;
  height: min(920px, calc(100vh - 220px));
  min-height: 620px;
  overflow: auto;
  background: #ffffff;
  border: 4px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.payment-modal.is-paytr .paytr-frame-shell {
  height: min(680px, calc(100vh - 58px));
  min-height: 460px;
}

.paytr-frame-shell iframe {
  display: block;
  width: 100%;
  min-height: 920px;
  border: 0;
}

.payment-modal.is-paytr .paytr-frame-shell iframe {
  min-height: 760px;
}

.payment-terms {
  display: grid !important;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 10px !important;
}

.payment-terms input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--pink);
}

.payment-terms span {
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  text-transform: none;
}

.payment-terms button {
  padding: 0;
  background: transparent;
  color: var(--pink);
  font: inherit;
  font-size: inherit;
  font-weight: 900;
  text-decoration: underline;
  border: 0;
  cursor: pointer;
}

.payment-terms button:hover {
  color: var(--yellow);
}

.payment-legal-reader {
  display: grid;
  gap: 14px;
}

.payment-legal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-right: 74px;
}

.payment-legal-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.payment-legal-body {
  max-height: min(520px, calc(100vh - 190px));
  padding: 14px;
  overflow-y: auto;
  background: var(--deep);
  border: 4px solid var(--line);
}

.payment-legal-body article + article {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 3px solid var(--line);
}

.payment-legal-body h3 {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 16px;
}

.payment-legal-body p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.payment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.payment-help {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.payment-actions {
  gap: 12px;
  margin-top: 4px;
  padding: 12px;
}

.payment-actions .reserve-button {
  min-width: 0;
  min-height: 52px;
  flex: 1;
  box-shadow: 5px 5px 0 var(--shadow);
  font-size: 16px;
}

.reserve-button.small {
  min-width: 180px;
  min-height: 58px;
  margin-top: 18px;
  font-size: 18px;
}

.reserve-button:disabled {
  cursor: not-allowed;
  background: #6f80a4;
  color: #415580;
  box-shadow: none;
}

.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.feedback-form {
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
}

.feedback-stars {
  display: flex;
  gap: 8px;
}

.feedback-stars button {
  width: 42px;
  height: 42px;
  border: 3px solid var(--line);
  background: var(--panel-dark);
  color: var(--muted);
  font-size: 24px;
  box-shadow: 3px 3px 0 var(--shadow);
}

.feedback-stars button.is-active {
  color: var(--yellow);
  border-color: var(--yellow);
}

.feedback-form textarea {
  min-height: 110px;
  resize: vertical;
  background: var(--panel-dark);
  border: 3px solid var(--line);
  color: var(--text);
  padding: 14px;
  font-family: inherit;
  font-weight: 900;
}

.checkbox-field {
  display: grid;
  gap: 12px;
}

.level-tag-section {
  margin-top: 34px;
}

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--panel-dark);
  border: 3px solid var(--line);
  color: var(--text);
  font-weight: 900;
}

.checkbox-chip input {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
}

.file-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.file-upload input {
  flex: 1;
  min-width: 260px;
  min-height: 62px;
  padding: 16px;
  background: var(--panel-dark);
  border: 4px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-weight: 900;
}

.file-note {
  margin-top: 18px !important;
  color: var(--muted) !important;
  font-size: 18px !important;
}

.file-list {
  display: grid;
  gap: 12px;
}

.file-list.compact {
  margin-top: 16px;
}

.file-row {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 18px;
  background: var(--panel-dark);
  border: 3px solid var(--line);
  color: var(--text);
  text-align: left;
  font-family: inherit;
  font-weight: 900;
}

.file-row:hover {
  border-color: var(--cyan);
}

.file-row span {
  overflow-wrap: anywhere;
}

.file-row small {
  color: var(--muted);
  font-size: 14px;
}

.message-layout {
  display: grid;
  gap: 24px;
}

.message-layout.single {
  max-width: 1040px;
}

.message-panel {
  padding: 28px;
}

.compact-tabs {
  margin-bottom: 18px;
}

.compact-tabs .tab {
  min-width: 150px;
  min-height: 48px;
  font-size: 15px;
}

.thread-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.thread-card {
  display: grid;
  gap: 8px;
  text-align: left;
  background: var(--panel-dark);
  border: 3px solid var(--line);
  color: var(--text);
  padding: 18px;
  box-shadow: 4px 4px 0 var(--shadow);
  font-family: inherit;
}

.thread-card strong {
  font-size: 20px;
}

.thread-card small,
.thread-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.thread-card span {
  color: var(--yellow);
  font-weight: 900;
}

.message-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.message-bubble {
  width: min(72%, 680px);
  background: var(--panel-dark);
  border: 3px solid var(--line);
  padding: 16px;
  box-shadow: 4px 4px 0 var(--shadow);
}

.message-bubble.mine {
  justify-self: end;
  border-color: var(--cyan);
}

.message-bubble strong,
.message-bubble small {
  color: var(--muted);
  font-weight: 900;
}

.message-bubble p {
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.5;
}

.message-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}

.message-composer textarea {
  min-height: 96px;
  resize: vertical;
  background: var(--panel-dark);
  border: 3px solid var(--line);
  color: var(--text);
  padding: 14px;
  font-family: inherit;
  font-weight: 900;
}

.reserve-button.danger {
  background: var(--red);
}

.reserve-button.secondary {
  background: var(--purple);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
    padding: 12px 24px 18px;
    gap: 10px;
  }

  .brand,
  .balance-pill {
    justify-self: center;
  }

  .top-actions {
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    overflow-x: auto;
    justify-content: start;
  }

  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teacher-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  }

  .date-search-form,
  .date-search-card,
  .teacher-head {
    grid-template-columns: 1fr;
  }

  .teacher-card .teacher-head {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .teacher-card-rating {
    justify-self: start;
    grid-column: 2;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-subjects {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
  }

  .stat-grid,
  .step-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .auth-login-actions {
    grid-template-columns: 1fr;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-board {
    grid-template-columns: 1fr;
  }

  .auth-layout,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .admin-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .whatsapp-float {
    right: 14px;
    bottom: 86px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 32px;
    height: 32px;
  }

  .page-shell {
    width: min(100% - 24px, 1740px);
    margin-top: 24px;
  }

  .nav-link {
    min-width: 132px;
    min-height: 54px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero,
  .balance-card,
  .balance-hero,
  .steps,
  .teacher-card,
  .package-card {
    padding: 22px;
  }

  .date-search-form,
  .date-search-card {
    grid-template-columns: 1fr;
  }

  .balance-card,
  .balance-hero,
  .teacher-actions,
  .package-buy {
    align-items: stretch;
    flex-direction: column;
  }

  .subject-grid,
  .teacher-grid,
  .package-grid,
  .hero-subjects,
  .stat-grid,
  .step-row,
  .schedule-summary {
    grid-template-columns: 1fr;
  }

  .avatar {
    width: 100%;
    height: 240px;
  }

  .teacher-card .teacher-head {
    grid-template-columns: 1fr;
  }

  .teacher-card-rating {
    grid-column: auto;
  }

  .teacher-card-bottom {
    grid-template-columns: 1fr;
  }

  .teacher-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lesson-spend {
    text-align: left;
  }

  .tab {
    min-width: 50%;
  }

  .teacher-modal {
    padding: 92px 18px 24px;
  }

  .payment-modal {
    padding: 76px 16px 18px;
  }

  .modal-close {
    top: 20px;
    right: 20px;
  }

  .payment-modal .modal-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .modal-head,
  .modal-metrics,
  .modal-cost,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .teacher-admin-modal {
    width: calc(100vw - 24px);
    padding: 76px 16px 18px;
  }

  .teacher-admin-form .admin-form-grid,
  .teacher-admin-form .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .modal-head {
    padding-right: 0;
  }

  .payment-title {
    padding-right: 0;
  }

  .payment-secure-mark {
    flex-wrap: wrap;
    font-size: 16px;
  }

  .payment-secure-mark img {
    width: 112px;
    height: 28px;
  }

  .modal-about p,
  .modal-head h3,
  .modal-cost strong {
    font-size: 26px;
  }

  .modal-cost {
    align-items: stretch;
    flex-direction: column;
  }

  .reserve-button {
    width: 100%;
  }

  .admin-hero,
  .admin-table-head,
  .admin-actions-row,
  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-search {
    min-width: 0;
  }

  .admin-filter,
  .admin-search-button {
    width: 100%;
  }

  .admin-stat-grid,
  .admin-row {
    grid-template-columns: 1fr;
  }
}

/* Hoca Geliyor brand refresh: bright education marketplace theme. */
:root {
  --bg: #fff8fb;
  --panel: #ffffff;
  --panel-dark: #f8edf6;
  --line: #ead8ec;
  --text: #09123f;
  --muted: #555f83;
  --cyan: #4f2f86;
  --yellow: #f7b733;
  --pink: #e91661;
  --green: #22a06b;
  --purple: #5a2b86;
  --orange: #f58a3d;
  --red: #d92d57;
  --shadow: rgba(91, 43, 134, 0.14);
  --soft-pink: #ffe4ee;
  --soft-purple: #f1e7ff;
}

body {
  background:
    radial-gradient(circle at top left, rgba(233, 22, 97, 0.12), transparent 28vw),
    radial-gradient(circle at right 12vh, rgba(90, 43, 134, 0.10), transparent 26vw),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  image-rendering: auto;
}

button,
input,
select,
textarea {
  letter-spacing: 0;
}

button {
  border-radius: 999px;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease, opacity 120ms ease;
}

button:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 8px 20px var(--shadow);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(233, 22, 97, 0.28);
  outline-offset: 3px;
}

input::placeholder,
textarea::placeholder {
  color: #7c849f;
}

.topbar {
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 2.6fr) minmax(150px, 0.9fr);
  min-height: 82px;
  padding: 0 clamp(18px, 5vw, 92px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(9, 18, 63, 0.06);
  backdrop-filter: blur(14px);
}

.brand,
.nav-link,
.balance-pill,
.pixel-button,
.filter-chip,
.tab,
.subject-card {
  color: var(--text);
  text-transform: none;
}

.brand-text {
  color: var(--text);
  font-size: clamp(21px, 1.5vw, 30px);
  font-weight: 900;
}

.brand-text span {
  color: var(--pink);
}

.nav-link {
  min-width: auto;
  padding: 0 13px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
}

.nav-link.is-active {
  background: var(--soft-pink);
  color: var(--pink);
  border-radius: 8px;
}

.balance-pill,
.notification-bell,
.top-application-button,
.pixel-button,
.mini-action,
.reserve-button,
.admin-search-button {
  border: 0;
  box-shadow: 0 12px 28px var(--shadow);
}

.balance-pill {
  min-height: 48px;
  padding: 0 20px;
  background: var(--soft-purple);
  color: var(--purple);
}

.balance-pill span {
  color: var(--muted);
}

.notification-bell {
  width: 48px;
  height: 48px;
  background: #fff;
  color: var(--purple);
}

.notification-bell strong {
  background: var(--pink);
  color: #fff;
  border: 2px solid #fff;
}

.page-shell {
  width: min(1480px, calc(100% - 48px));
  margin: 34px auto 76px;
}

.footer {
  background: var(--purple);
  color: #ffffff;
  border-top: 0;
  border-radius: 34px 34px 0 0;
}

.footer-links button {
  color: #ffffff;
  opacity: 0.92;
}

.footer-links button:hover {
  color: #ffd5e5;
}

.footer-links button + button::before {
  background: rgba(255, 255, 255, 0.28);
}

.footer-payment-band {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.82);
}

.toast,
.loading-banner {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 42px var(--shadow);
}

.toast {
  background: var(--text);
  color: #fff;
}

.loading-banner {
  background: var(--soft-pink);
  color: var(--pink);
}

.whatsapp-float {
  border: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.30);
}

.pixel-panel,
.teacher-card,
.package-card,
.lesson-card,
.subject-card,
.stat-card,
.admin-stat,
.admin-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(9, 18, 63, 0.08);
}

.cyan-frame,
.yellow-frame,
.pink-frame,
.green-frame,
.purple-frame,
.orange-frame,
.red-frame {
  border: 1px solid var(--line);
}

.cyan,
.purple {
  background: var(--purple);
  color: #fff;
}

.pink,
.red {
  background: var(--pink);
  color: #fff;
}

.yellow,
.orange {
  background: var(--yellow);
  color: var(--text);
}

.green {
  background: var(--green);
  color: #fff;
}

.cyan-text,
.purple-text {
  color: var(--purple);
}

.pink-text,
.red-text {
  color: var(--pink);
}

.yellow-text,
.orange-text {
  color: var(--yellow);
}

.green-text {
  color: var(--green);
}

.hero {
  min-height: 470px;
  padding: clamp(34px, 6vw, 76px);
  background:
    radial-gradient(circle at 84% 48%, rgba(233, 22, 97, 0.18) 0 18%, transparent 19%),
    linear-gradient(135deg, #ffffff 0%, #fff7fb 58%, #f6edff 100%);
  border-radius: 30px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -44px;
  background: var(--pink);
  border-radius: 42% 58% 52% 48%;
  opacity: 0.95;
}

.hero::after {
  width: 112px;
  height: 112px;
  top: 34px;
  right: 38px;
  border: 4px solid var(--purple);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(35deg);
  opacity: 0.28;
}

.eyebrow {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 18px;
  background: var(--purple);
  color: #fff;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 900;
  text-transform: none;
}

.section-title {
  position: relative;
  display: inline-flex;
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  text-transform: none;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 72px;
  height: 5px;
  background: var(--pink);
  border-radius: 999px;
}

h1 {
  color: var(--text);
  font-size: clamp(48px, 6.4vw, 86px);
  line-height: 0.98;
  text-transform: none;
}

.hero p:not(.eyebrow),
.balance-hero p,
.package-card p,
.teacher-card p,
.admin-card p,
.empty-state p,
.lesson-card p {
  color: var(--muted);
  font-weight: 750;
}

.button-row {
  margin-top: 34px;
}

.pixel-button {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
}

.hero-subject-card,
.hero-subject-status,
.date-slot-chip,
.teacher-tags span,
.teacher-metrics span,
.admin-health,
.admin-head-note,
.admin-row,
.search-box,
.date-search-form select,
.admin-search,
.admin-filter,
.mini-meter,
.bonus,
.lesson-state,
.schedule-summary,
.empty-state,
.checkout-payment-mark {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: none;
}

.hero-subject-card {
  min-height: 112px;
  color: var(--text);
}

.hero-subject-card strong {
  font-size: 22px;
}

.hero-subject-card small,
.teacher-education,
.rating,
.date-slot-chip strong {
  color: var(--pink);
}

.balance-card,
.balance-hero {
  border-radius: 28px;
}

.huge-number,
.package-minutes,
.package-buy strong,
.stat-card strong,
.lesson-spend strong,
.admin-kpi,
.admin-stat strong,
.admin-health strong {
  color: var(--pink);
}

.mini-meter {
  background: var(--soft-pink);
}

.mini-meter span {
  background: var(--pink);
  border-radius: 999px;
}

.stat-card span,
.result-count,
.date-search-form label,
.teacher-metrics small,
.lesson-spend small,
.package-buy small,
.schedule-summary small,
.admin-health small,
.admin-stat small,
.admin-row.column-head,
.status,
.teacher-tags span,
.subject-badge,
.package-label,
.mini-action,
.tab,
.filter-chip {
  text-transform: none;
}

.search-box input,
.admin-search input,
.admin-filter,
.date-search-form select,
.message-composer textarea,
.field input,
.field textarea,
.field select,
.payment-form input {
  color: var(--text);
}

.filter-chip,
.tab {
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
}

.filter-chip.is-active,
.tab.is-active {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  box-shadow: 0 12px 24px rgba(233, 22, 97, 0.18);
}

.avatar {
  border-radius: 22px;
  background: var(--soft-purple);
}

.status::before {
  border-radius: 50%;
}

.bonus {
  color: var(--pink);
  background: var(--soft-pink);
}

.package-buy {
  border-top: 1px solid var(--line);
}

.tabs {
  gap: 10px;
}

.admin-table {
  border: 1px solid var(--line);
  border-radius: 24px;
}

.admin-row.column-head {
  color: var(--purple);
}

.mini-action {
  background: var(--purple);
  color: #fff;
}

.mini-action.pink,
.mini-action.red,
.reserve-button.danger {
  background: var(--pink);
  color: #fff;
}

.reserve-button {
  background: var(--pink);
  color: #fff;
}

.reserve-button.secondary {
  background: var(--purple);
  color: #fff;
}

.modal-backdrop {
  background: rgba(9, 18, 63, 0.42);
  backdrop-filter: blur(10px);
}

.teacher-modal,
.auth-card,
.profile-card,
.legal-page,
.message-panel,
.notification-panel {
  border-radius: 28px;
}

.modal-close {
  border-radius: 50%;
}

.home-scale {
  zoom: 1;
}

@supports not (zoom: 1) {
  .home-scale {
    width: auto;
    transform: none;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px 18px;
  }

  .brand,
  .top-actions {
    justify-self: stretch;
  }

  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 24px, 1480px);
    margin-top: 20px;
  }

  .hero {
    padding: 28px 20px;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .hero-subjects,
  .package-grid,
  .stat-grid,
  .step-row {
    grid-template-columns: 1fr;
  }
}

.auth-card input,
.profile-form input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.auth-card input:focus,
.profile-form input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(233, 22, 97, 0.10);
}

.password-input-wrap {
  gap: 12px;
}

.password-input-wrap button {
  min-width: 92px;
  background: var(--soft-purple);
  color: var(--purple);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
}

.auth-login-actions {
  gap: 14px;
}

.auth-login-actions .auth-submit {
  background: var(--pink);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(233, 22, 97, 0.18);
}

.auth-social-button {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(9, 18, 63, 0.07);
}

.auth-social-google {
  background: #ffffff;
  color: #3c4043;
}

.auth-social-apple {
  background: #ffffff;
  color: var(--text);
  border-color: var(--purple);
}

.auth-social-button:hover,
.password-input-wrap button:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(9, 18, 63, 0.10);
}

.text-switch {
  color: var(--purple);
  text-transform: none;
}
