﻿:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #687386;
  --line: #dce3ea;
  --panel: #ffffff;
  --soft: #eef5f8;
  --teal: #126b6f;
  --teal-dark: #0d4d50;
  --coral: #c85b47;
  --gold: #b18428;
  --heading: #2d3464;
  --shadow: 0 18px 45px rgba(24, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7fafb;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("assets/kutahya-enderun-logo-transparent.png") center 58% / min(76vw, 980px) auto no-repeat;
  opacity: 0.2;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar::after {
  content: "";
  width: 42px;
  height: 42px;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.icon-button,
.dots-button,
.close-menu,
.ghost-button {
  border: 0;
  cursor: pointer;
}

.icon-button {
  display: grid;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
}

.icon-button span {
  display: block;
  height: 2px;
  background: var(--ink);
}

.dots-button {
  display: grid;
  place-items: center;
  gap: 3px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--soft);
}

.dots-button span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.side-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: min(340px, 86vw);
  padding: 24px;
  background: #fff;
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  transition: transform 180ms ease;
}

.side-menu.open {
  transform: translateX(0);
}

.side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.side-head strong,
.side-head span {
  display: block;
}

.side-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.close-menu {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  font-size: 24px;
  line-height: 1;
}

.menu-links {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.menu-links a {
  padding: 13px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
}

.menu-links a:hover,
.menu-links a:focus {
  color: #fff;
  background: var(--teal);
  outline: none;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(24, 33, 47, 0.34);
}

.layout {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 42px 0 80px;
}

.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

.intro {
  min-width: 0;
}

.intro.page-section.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: calc(100vh - 194px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
.brand strong,
.menu-links a,
.card-head h2,
.dashboard-head h2,
.panel h3,
.application h2,
.gallery h2,
.content-band h2,
.quick-grid h2,
.status-pill,
button,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand strong,
.menu-links a,
.card-head h2,
.dashboard-head h2,
.panel h3,
.application h2,
.gallery h2,
.content-band h2,
.quick-grid h2,
.status-pill,
button {
  font-family: Dosis, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.brand strong,
.card-head h2,
.dashboard-head h2,
.panel h3,
.application h2,
.gallery h2,
.content-band h2,
.quick-grid h2 {
  color: var(--heading);
}

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.quick-grid,
.panel-grid {
  display: grid;
  gap: 22px;
}

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

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

.quick-grid {
  margin: 0 auto;
  max-width: 980px;
  width: 100%;
}

.quick-grid article,
.login-card,
.dashboard,
.content-band,
.gallery,
.application {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(24, 33, 47, 0.06);
}

.quick-grid article {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 240px;
  aspect-ratio: 1 / 1;
  padding: clamp(20px, 2.4vw, 30px);
}

.quick-grid h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 36px);
}

.quick-grid p,
.content-band p {
  margin-bottom: 0;
  color: #303b4d;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.62;
}

.treat-gallery p {
  margin-bottom: 18px;
}

.trips-section p {
  margin-bottom: 18px;
}

.namesi-quote {
  margin: 0;
  padding-top: 22px;
  color: var(--heading);
  font-family: Dosis, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.namesi-heading {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 22px;
  text-align: center;
}

.namesi-heading h2 {
  margin: 0;
}

.namesi-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-family: Dosis, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.25;
}

.namesi-empty {
  margin: 0;
  padding: 18px 15px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.trip-folder {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.trip-folder summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  cursor: pointer;
  color: var(--heading);
  font-family: Dosis, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 800;
  list-style: none;
}

.trip-folder summary::-webkit-details-marker {
  display: none;
}

.trip-folder summary::after {
  content: "›";
  margin-left: auto;
  color: var(--teal);
  font-size: 32px;
  line-height: 1;
  transition: transform 160ms ease;
}

.trip-folder[open] summary::after {
  transform: rotate(90deg);
}

.trip-folder small {
  color: var(--muted);
  font-size: 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

.folder-icon {
  width: 28px;
  height: 22px;
  border-radius: 5px 5px 3px 3px;
  background: var(--gold);
  position: relative;
}

.folder-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 15px;
  height: 8px;
  border-radius: 4px 4px 0 0;
  background: var(--gold);
}

.trip-folder .photo-grid {
  padding: 0 15px 15px;
}

.login-shell {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.login-shell.page-section {
  display: none;
}

.login-shell.page-section.active {
  display: grid;
}

.login-card,
.dashboard {
  padding: 22px;
}

.card-head,
.dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-head h2,
.dashboard-head h2 {
  margin: 0;
  font-size: 24px;
}

.status-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #dff2ef;
  font-size: 13px;
  font-weight: 800;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 8px;
}

.login-step {
  display: none;
}

.login-step.active {
  display: block;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(18, 107, 111, 0.16);
}

input[type="file"] {
  padding: 10px;
}

button[type="submit"],
.application button {
  border: 0;
  border-radius: 8px;
  padding: 12px 17px;
  color: #fff;
  background: var(--teal);
  cursor: pointer;
  font-weight: 800;
}

button[type="submit"]:hover,
.application button:hover,
.ghost-button:hover {
  background: var(--teal-dark);
}

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

.error-text {
  min-height: 20px;
  margin: 10px 0 0;
  color: #a33426;
  font-weight: 700;
  font-size: 13px;
}

.ghost-button {
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  background: var(--coral);
  font-weight: 800;
}

.summary-row,
.mentor-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.summary-row div,
.mentor-row div {
  padding: 14px 12px;
  border-radius: 8px;
  background: var(--soft);
}

.summary-row span,
.summary-row strong,
.mentor-row span,
.mentor-row strong {
  display: block;
}

.summary-row span,
.mentor-row span {
  color: var(--muted);
  font-size: 12px;
}

.summary-row strong,
.mentor-row strong {
  margin-top: 5px;
  font-size: 18px;
}

.panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wide-panel {
  grid-column: 1 / -1;
}

.panel h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

ul,
dl {
  margin: 0;
  padding: 0;
}

li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

li:first-child {
  border-top: 0;
}

li strong {
  color: var(--ink);
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 4px 0 12px;
  font-weight: 800;
}

.daily-program {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.daily-program img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.result-folder {
  margin-top: 0;
}

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

.result-grid .empty-state {
  grid-column: 1 / -1;
  padding: 16px 0 2px;
}

.content-band,
.gallery,
.application {
  padding: 24px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 33, 47, 0.08);
  aspect-ratio: 4 / 3;
}

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

.photo-grid img:focus-visible {
  outline: 4px solid rgba(18, 107, 111, 0.26);
  outline-offset: -4px;
}

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

.etkinlik-grid {
  margin-top: 16px;
}

.trip-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.application-form label:nth-child(3),
.application-form button {
  grid-column: 1 / -1;
}

@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .login-shell {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 64px;
  }

  .brand span {
    display: none;
  }

  .layout {
    width: min(100% - 24px, 1180px);
    padding-top: 26px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .quick-grid,
  .panel-grid,
  .summary-row,
  .mentor-row,
  .application-form,
  .input-row {
    grid-template-columns: 1fr;
  }

  .quick-grid article {
    min-height: 240px;
  }
}



.photo-grid figure,
.application-photo,
.daily-program {
  cursor: zoom-in;
}

.daily-program img:focus-visible {
  outline: 4px solid rgba(18, 107, 111, 0.26);
  outline-offset: -4px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(8, 14, 24, 0.88);
  overflow: hidden;
  touch-action: none;
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox img {
  display: block;
  max-width: min(1120px, 96vw);
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform 120ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-lightbox.is-zoomed img {
  cursor: grab;
}

.photo-lightbox.is-zoomed img:active {
  cursor: grabbing;
}

.lightbox-close,
.lightbox-tools {
  position: fixed;
  z-index: 2;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.lightbox-tools {
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.lightbox-tools button {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  display: grid;
  place-items: center;
  width: 50px;
  height: 58px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 46px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus,
.lightbox-close:hover,
.lightbox-close:focus,
.lightbox-tools button:hover,
.lightbox-tools button:focus {
  background: rgba(255, 255, 255, 0.26);
  outline: none;
}

.lightbox-nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.lightbox-nav:disabled:hover,
.lightbox-nav:disabled:focus {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

@media (max-width: 640px) {
  .photo-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78%, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .photo-grid figure {
    scroll-snap-align: start;
  }

  .trip-folder .photo-grid {
    padding: 0 15px 15px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 48px;
    height: 48px;
    font-size: 38px;
    transform: none;
  }

  .lightbox-tools {
    right: 70px;
    left: 12px;
  }

  .lightbox-tools button {
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
  }
}

.admin-shell {
  display: none;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.admin-shell.page-section.active {
  display: grid;
}

.admin-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(24, 33, 47, 0.06);
}

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

.admin-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
}

.wide-field,
.admin-actions {
  grid-column: 1 / -1;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions button {
  border: 0;
  border-radius: 8px;
  padding: 12px 17px;
  color: #fff;
  background: var(--teal);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 640px) {
  .admin-form {
    grid-template-columns: 1fr;
  }
}

.side-menu {
  display: flex;
  flex-direction: column;
}

.menu-links {
  flex: 1;
  align-content: start;
}

.menu-auth-start {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px !important;
}

.application-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.application-form legend {
  padding: 0 8px;
  color: var(--heading);
  font-family: Dosis, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.application-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
}

.application-form .full-span {
  grid-column: 1 / -1;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  grid-column: 1 / -1;
}

.checkbox-label input {
  width: auto;
  margin-top: 4px;
}

.admin-submissions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

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

.application-entry {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.application-photo {
  width: min(220px, 100%);
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  aspect-ratio: 3 / 4;
}

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

.application-entry h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 20px;
}

.application-entry dl {
  display: grid;
  grid-template-columns: minmax(140px, 0.5fr) minmax(0, 1fr);
  gap: 8px 12px;
}

.application-entry dt,
.application-entry dd {
  margin: 0;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 640px) {
  .application-form fieldset,
  .application-entry dl {
    grid-template-columns: 1fr;
  }
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.application-entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.application-entry-select {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-family: Dosis, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.application-entry-select input {
  width: auto;
}

.delete-application-button {
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  background: #a33426;
  cursor: pointer;
  font-weight: 800;
}

.delete-application-button:hover {
  background: #7f261d;
}

@media (max-width: 640px) {
  .application-entry-head,
  .admin-list-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Premium visual refresh */
:root {
  --ink: #172032;
  --muted: #667086;
  --line: #d9e2e8;
  --soft: #eef6f5;
  --heading: #24315e;
  --shadow: 0 22px 60px rgba(24, 33, 47, 0.14);
  --premium-shadow: 0 24px 70px rgba(23, 32, 50, 0.12);
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(177, 132, 40, 0.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(18, 107, 111, 0.15), transparent 32%),
    linear-gradient(180deg, #f8fbfb 0%, #eef5f5 46%, #f8faf7 100%);
}

body::before {
  opacity: 0.13;
}

.topbar {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(217, 226, 232, 0.82);
  box-shadow: 0 12px 34px rgba(23, 32, 50, 0.06);
  backdrop-filter: blur(18px);
}

.brand-mark {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 8px 14px rgba(18, 107, 111, 0.18));
}

.brand strong {
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  letter-spacing: 0;
}

.icon-button,
.dots-button,
.close-menu,
.ghost-button {
  box-shadow: inset 0 0 0 1px rgba(18, 107, 111, 0.08);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.icon-button:hover,
.dots-button:hover,
.close-menu:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  background: #e2f0ef;
  box-shadow: 0 12px 24px rgba(18, 107, 111, 0.12);
}

.side-menu {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 250, 0.98)),
    #fff;
}

.side-head {
  position: relative;
  align-items: center;
  padding: 0 0 20px;
}

.side-head::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 107, 111, 0.44), rgba(177, 132, 40, 0.38), transparent);
}

.side-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(18, 107, 111, 0.18));
}

.side-head strong {
  color: var(--heading);
  font-family: Dosis, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 25px;
  line-height: 1;
}

.menu-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding-left: 42px;
  border: 1px solid transparent;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.menu-links a::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(18, 107, 111, 0.22);
  box-shadow: 0 0 0 5px rgba(18, 107, 111, 0.06);
}

.menu-links a:hover,
.menu-links a:focus {
  transform: translateX(3px);
  border-color: rgba(18, 107, 111, 0.16);
}

.menu-links a[aria-current="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 14px 28px rgba(18, 107, 111, 0.2);
}

.menu-links a[aria-current="true"]::before {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}

.layout {
  width: min(1220px, calc(100% - 32px));
}

.page-section.active {
  animation: section-enter 420ms ease both;
}

.intro.page-section.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: calc(100vh - 194px);
}

.quick-grid {
  max-width: 1080px;
}

.quick-grid article,
.login-card,
.dashboard,
.content-band,
.gallery,
.application,
.admin-panel {
  border-color: rgba(217, 226, 232, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 254, 253, 0.96)),
    var(--panel);
  box-shadow: var(--premium-shadow);
}

.quick-grid article {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  animation: card-enter 520ms ease both;
}

.quick-grid article:nth-child(2) {
  animation-delay: 80ms;
}

.quick-grid article:nth-child(3) {
  animation-delay: 160ms;
}

.quick-grid article::before {
  content: "";
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.quick-grid h2,
.content-band h2,
.gallery h2,
.application h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  letter-spacing: 0;
}

.quick-grid h2::after,
.content-band h2::after,
.gallery h2::after,
.application h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.content-band,
.gallery,
.application {
  padding: clamp(22px, 3vw, 34px);
}

.photo-grid {
  gap: 18px;
}

.photo-grid figure {
  position: relative;
  border-color: rgba(217, 226, 232, 0.92);
  box-shadow: 0 18px 42px rgba(23, 32, 50, 0.11);
  animation: card-enter 420ms ease both;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.photo-grid figure::after {
  content: "Büyüt";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 32, 50, 0.68);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.photo-grid figure:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 107, 111, 0.24);
  box-shadow: 0 24px 56px rgba(23, 32, 50, 0.16);
}

.photo-grid figure:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.photo-grid img {
  transition: transform 320ms ease;
}

.photo-grid figure:hover img {
  transform: scale(1.035);
}

.trip-folder {
  margin-top: 12px;
  border-color: rgba(217, 226, 232, 0.92);
  box-shadow: 0 14px 34px rgba(23, 32, 50, 0.08);
  animation: card-enter 420ms ease both;
}

.trip-folder summary {
  background: linear-gradient(90deg, rgba(18, 107, 111, 0.08), rgba(177, 132, 40, 0.08));
}

.trip-folder[open] summary {
  border-bottom: 1px solid rgba(217, 226, 232, 0.82);
}

.folder-icon {
  box-shadow: 0 8px 18px rgba(177, 132, 40, 0.22);
}

.photo-lightbox {
  background: rgba(10, 16, 28, 0.9);
  backdrop-filter: blur(8px);
}

.side-menu {
  border-right: 1px solid rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(238, 248, 250, 0.36)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    24px 0 70px rgba(12, 28, 42, 0.2),
    inset -1px 0 0 rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(1.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
}

.side-menu::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.14) 42%, rgba(18, 107, 111, 0.1));
  box-shadow: inset 0 1px 18px rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.side-head {
  border-bottom: 0;
}

.side-head::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), rgba(18, 107, 111, 0.28), transparent);
}

.menu-links {
  gap: 10px;
}

.menu-links a {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 24px rgba(12, 28, 42, 0.08);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
}

.menu-links a::before {
  background: rgba(18, 107, 111, 0.42);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(18, 107, 111, 0.26);
}

.menu-links a:hover,
.menu-links a:focus {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 32px rgba(12, 28, 42, 0.13);
}

.menu-links a[aria-current="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(18, 107, 111, 0.88), rgba(13, 77, 80, 0.72)),
    rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 18px 38px rgba(18, 107, 111, 0.25);
}

.lightbox-close,
.lightbox-nav {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

@keyframes section-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 920px) {
  .intro.page-section.active {
    min-height: auto;
  }

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

  .quick-grid article {
    min-height: 0;
    aspect-ratio: auto;
  }
}

@media (max-width: 640px) {
  .layout {
    width: min(100% - 20px, 1220px);
    padding-top: 26px;
  }

  .content-band,
  .gallery,
  .application,
  .login-card,
  .dashboard {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-section.active,
  .quick-grid article,
  .photo-grid figure,
  .trip-folder {
    animation: none;
  }
}

.student-title-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.student-panel-menu-toggle {
  flex: 0 0 auto;
}

.student-leave-menu {
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 12;
  width: min(320px, 78vw);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.student-leave-menu h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.student-leave-menu ul,
.leave-history-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}


.leave-history-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--soft);
}


.leave-history-list li span {
  min-width: 0;
  font-weight: 800;
}


.leave-history-list li strong {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

#timeList dd .leave-history-list {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .dashboard-head {
    align-items: stretch;
  }

  .student-title-row {
    width: 100%;
  }

  .student-leave-menu {
    width: min(300px, 86vw);
  }

  
  .leave-history-list li {
    grid-template-columns: 1fr;
  }

  
  .leave-history-list li strong {
    text-align: left;
  }
}
.student-side-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 32;
  display: flex;
  flex-direction: column;
  width: min(340px, 86vw);
  padding: 24px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 250, 0.98)),
    #fff;
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  transition: transform 180ms ease;
}

.student-side-menu.open {
  transform: translateX(0);
}

.student-panel-scrim {
  position: fixed;
  inset: 0;
  z-index: 31;
  background: rgba(14, 24, 39, 0.34);
}

.student-menu-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.student-menu-links button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--soft);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.student-menu-links button:hover,
.student-menu-links button.active {
  border-color: rgba(18, 107, 111, 0.22);
  color: var(--teal-dark);
  background: #dff2ef;
}

.student-dashboard-view[hidden] {
  display: none;
}

.student-focus-panel {
  min-height: 260px;
}
.student-side-menu[hidden],
.student-panel-scrim[hidden] {
  display: none;
}
#studentPanelMenu.student-side-menu {
  position: fixed !important;
  inset: 0 auto 0 0 !important;
  z-index: 32 !important;
  display: flex !important;
  flex-direction: column;
  width: min(340px, 86vw);
  max-width: 86vw;
  height: 100vh;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(-105%) !important;
}

#studentPanelMenu.student-side-menu.open {
  transform: translateX(0) !important;
}
#studentPanelMenu.side-menu {
  position: fixed !important;
  inset: 0 auto 0 0 !important;
  z-index: 30 !important;
  display: flex !important;
  flex-direction: column !important;
  width: min(340px, 86vw) !important;
  height: 100vh !important;
  transform: translateX(-105%) !important;
}

#studentPanelMenu.side-menu.open {
  transform: translateX(0) !important;
}

#studentPanelScrim.scrim {
  z-index: 20;
}
.student-menu-links {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start;
  gap: 10px !important;
  margin-top: 20px !important;
}

.student-menu-links button {
  position: relative;
  display: flex !important;
  align-items: center;
  width: 100% !important;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 8px !important;
  padding: 13px 12px 13px 34px !important;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 22px rgba(18, 107, 111, 0.08) !important;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.student-menu-links button::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(18, 107, 111, 0.42);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(18, 107, 111, 0.26);
}

.student-menu-links button:hover,
.student-menu-links button:focus {
  color: var(--teal-dark) !important;
  background: rgba(255, 255, 255, 0.58) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 14px 24px rgba(18, 107, 111, 0.12) !important;
  outline: none;
  transform: translateX(3px);
}

.student-menu-links button.active {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.58) !important;
  background:
    linear-gradient(135deg, rgba(18, 107, 111, 0.88), rgba(13, 77, 80, 0.72)),
    var(--teal) !important;
  box-shadow: 0 14px 28px rgba(18, 107, 111, 0.2) !important;
}

.student-menu-links button.active::before {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}
#studentPanelMenu .student-menu-links {
  flex: 1;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start;
  gap: 10px !important;
  margin-top: 20px !important;
}

#studentPanelMenu .student-menu-links button {
  position: relative;
  display: flex !important;
  align-items: center;
  width: 100% !important;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 8px !important;
  padding: 13px 12px 13px 34px !important;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 22px rgba(18, 107, 111, 0.08) !important;
  cursor: pointer;
  font-family: Dosis, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: left;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

#studentPanelMenu .student-menu-links button::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(18, 107, 111, 0.42);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(18, 107, 111, 0.26);
}

#studentPanelMenu .student-menu-links button:hover,
#studentPanelMenu .student-menu-links button:focus {
  color: var(--teal-dark) !important;
  background: rgba(255, 255, 255, 0.58) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 14px 24px rgba(18, 107, 111, 0.12) !important;
  outline: none;
  transform: translateX(3px);
}

#studentPanelMenu .student-menu-links button.active {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.58) !important;
  background:
    linear-gradient(135deg, rgba(18, 107, 111, 0.88), rgba(13, 77, 80, 0.72)),
    var(--teal) !important;
  box-shadow: 0 14px 28px rgba(18, 107, 111, 0.2) !important;
}

#studentPanelMenu .student-menu-links button.active::before {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}
.side-menu,
#studentPanelMenu.side-menu {
  border-right: 1px solid rgba(255, 255, 255, 0.58) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(232, 248, 249, 0.34)),
    rgba(255, 255, 255, 0.48) !important;
  box-shadow:
    0 28px 70px rgba(15, 36, 48, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset -18px 0 46px rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(24px) saturate(1.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
}

.side-menu::after,
#studentPanelMenu.side-menu::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(circle at 92% 36%, rgba(120, 207, 210, 0.26), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.menu-links a,
#studentPanelMenu .student-menu-links button {
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.22)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -12px 26px rgba(255, 255, 255, 0.16),
    0 12px 28px rgba(18, 107, 111, 0.10) !important;
  backdrop-filter: blur(18px) saturate(1.32);
  -webkit-backdrop-filter: blur(18px) saturate(1.32);
}

.menu-links a::after,
#studentPanelMenu .student-menu-links button::after {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 42%;
  border-radius: 7px 7px 12px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.menu-links a:hover,
.menu-links a:focus,
#studentPanelMenu .student-menu-links button:hover,
#studentPanelMenu .student-menu-links button:focus {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(226, 250, 247, 0.44)) !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -14px 28px rgba(255, 255, 255, 0.2),
    0 18px 34px rgba(18, 107, 111, 0.16) !important;
}

.menu-links a[aria-current="true"],
#studentPanelMenu .student-menu-links button.active {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.68) !important;
  background:
    linear-gradient(135deg, rgba(25, 126, 128, 0.82), rgba(13, 77, 80, 0.68)),
    rgba(255, 255, 255, 0.26) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -16px 30px rgba(255, 255, 255, 0.12),
    0 18px 34px rgba(18, 107, 111, 0.24) !important;
}
[data-student-view-panel="leaves"] .student-focus-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.86), transparent 32%),
    radial-gradient(circle at 90% 22%, rgba(128, 218, 218, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(236, 250, 250, 0.28)) !important;
  box-shadow:
    0 28px 70px rgba(15, 36, 48, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -22px 46px rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(26px) saturate(1.55);
  -webkit-backdrop-filter: blur(26px) saturate(1.55);
}

[data-student-view-panel="leaves"] .student-focus-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.06) 42%, transparent);
  pointer-events: none;
}

[data-student-view-panel="leaves"] .student-focus-panel h3 {
  position: relative;
  color: var(--heading);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

[data-student-view-panel="leaves"] .leave-history-list {
  position: relative;
  gap: 12px;
}

[data-student-view-panel="leaves"] .leave-history-list li {
  border: 1px solid rgba(255, 255, 255, 0.66) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.26)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -14px 28px rgba(255, 255, 255, 0.18),
    0 16px 30px rgba(18, 107, 111, 0.12) !important;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

[data-student-view-panel="leaves"] .leave-history-list li span {
  color: var(--heading);
  font-weight: 800;
}

[data-student-view-panel="leaves"] .leave-history-list li strong {
  color: var(--teal-dark);
}
/* Strong iOS-style liquid glass for the student leave screen. */
.liquid-leave-view {
  isolation: isolate;
}

.liquid-leave-card {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.96), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(101, 210, 219, 0.32), transparent 34%),
    radial-gradient(circle at 40% 104%, rgba(18, 107, 111, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(235, 251, 250, 0.34)) !important;
  box-shadow:
    0 34px 90px rgba(9, 32, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -28px 60px rgba(255, 255, 255, 0.22),
    inset 18px 0 46px rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(32px) saturate(1.8) contrast(1.04) !important;
  -webkit-backdrop-filter: blur(32px) saturate(1.8) contrast(1.04) !important;
}

.liquid-leave-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08) 34%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 48%);
  pointer-events: none;
}

.liquid-leave-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -54px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  filter: blur(18px);
  pointer-events: none;
}

.liquid-leave-card > * {
  position: relative;
  z-index: 1;
}

.liquid-leave-card h3 {
  margin-bottom: 18px !important;
  color: #12383b !important;
  font-size: 22px !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
}

.liquid-leave-list {
  gap: 14px !important;
}

.liquid-leave-list li {
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.26)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -18px 34px rgba(255, 255, 255, 0.18),
    0 18px 38px rgba(18, 107, 111, 0.16) !important;
  backdrop-filter: blur(22px) saturate(1.7) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.7) !important;
}

.liquid-leave-list li span {
  color: #12383b !important;
  font-size: 18px !important;
}

.liquid-leave-list li strong {
  color: #0d4d50 !important;
  font-size: 13px !important;
}
/* Rebuilt leave screen: obvious iOS-style liquid glass. */
.ios-liquid-stage {
  position: relative;
  min-height: 430px;
  padding: 28px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.88), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(82, 213, 220, 0.58), transparent 32%),
    radial-gradient(circle at 36% 96%, rgba(28, 129, 132, 0.36), transparent 36%),
    linear-gradient(135deg, #edf9fb 0%, #d8f1f2 42%, #f7fcfb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 28px 72px rgba(8, 36, 46, 0.16);
}

.ios-liquid-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.78;
  pointer-events: none;
}

.ios-liquid-orb-a {
  width: 190px;
  height: 190px;
  right: -42px;
  top: -54px;
  background: rgba(255, 255, 255, 0.82);
}

.ios-liquid-orb-b {
  width: 220px;
  height: 220px;
  left: -74px;
  bottom: -86px;
  background: rgba(73, 191, 196, 0.36);
}

.ios-liquid-card {
  position: relative;
  z-index: 1;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -30px 64px rgba(255, 255, 255, 0.2),
    0 30px 72px rgba(9, 39, 49, 0.2);
  backdrop-filter: blur(34px) saturate(1.9);
  -webkit-backdrop-filter: blur(34px) saturate(1.9);
}

.ios-liquid-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.08) 34%, transparent 58%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.42), transparent 36%);
  pointer-events: none;
}

.ios-liquid-shine {
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 44%;
  border-radius: 24px 24px 36px 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent);
  pointer-events: none;
}

.ios-liquid-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: #103f42;
  font-size: 24px;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ios-liquid-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ios-liquid-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.24));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -16px 30px rgba(255, 255, 255, 0.2),
    0 18px 34px rgba(8, 54, 63, 0.14);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
}

.ios-liquid-list li span {
  color: #0f393c;
  font-size: 19px;
  font-weight: 800;
}

.ios-liquid-list li strong {
  color: #0d6064;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

@media (max-width: 640px) {
  .ios-liquid-stage {
    padding: 18px;
  }

  .ios-liquid-list li {
    grid-template-columns: 1fr;
  }

  .ios-liquid-list li strong {
    text-align: left;
  }
}

/* Student panel menu tabs should not show decorative dots. */
#studentPanelMenu .student-menu-links button {
  padding-left: 18px !important;
}

#studentPanelMenu .student-menu-links button::before,
#studentPanelMenu .mega-glass-link::before {
  content: none !important;
  display: none !important;
}
