/* ---------- Base ---------- */
:root {
  --page-bg: #f9f9f9;
  --card-bg: #ffffff;
  --ink: #0f0f0f;
  --muted: #6f6f6f;
  --accent: #111111;
  --soft-line: rgba(15, 15, 15, 0.08);
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--page-bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

main {
  width: min(1200px, 92%);
  margin: 0 auto 6rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  padding-top: 2rem;
}

/* ---------- Header ---------- */
.sticky-header {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid #eee;
  padding: 1.2rem 0;
  text-align: center;
  z-index: 10;
}

.sticky-header h1 {
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

.auth-account {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #333;
}

.auth-account__name {
  font-weight: 500;
}

.auth-account__signout {
  border: none;
  background: #111;
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.auth-account__signout:hover:not(:disabled) {
  background: #333;
}

.auth-account__signout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@font-face {
    font-family: "Harlow";
    src: url("fonts/Harlow\ Solid\ Italic\ Italic.woff");
}
@font-face {
    font-family: "acumin-pro";
    src: url("https://use.typekit.net/sbr2tbw.css")
}

hero {
    position: relative;
    font-family: "Harlow";
    display:block;
    margin-left: 33vw;
    margin-top: 166px;
    color: #E5AB63;
    font-size: 120px;
    letter-spacing: 0.055em;
}

hero2 {
    position: relative;
    font-family: 'Times New Roman', Times, serif;
    display: block;
    margin-left: 37vw;
    font-size: 48px;
    letter-spacing: 0.055em;
    font-style: italic;
    color: #E5AB63;
    margin-top: -60px;
}

market-b {
    position: relative;
    display:block;
    margin-left: 34vw;
    font-family: "acumin-pro";
    letter-spacing: 0.04em;
    margin-top: 30px;
    font-weight:200;
}

cta {
    position:relative;
    display:block;
    margin-left: 34vw;
    margin-top:30px;
    font-family: "acumin-pro";
    font-style: italic;
    font-weight:700;
}

.circle {
    position:absolute;
    left:14vw;
    top:7vw;
    width:700px;
    height:700px;
    background: #E6E6E6;
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle at 65% 45%, transparent 290px, black 291px);
    mask-image: radial-gradient(circle at 65% 45%, transparent 290px, black 291px)
}

.hero-wrap {
    position:relative;
    height:900px;
    background: white;
    top:0;
    left:0;
    width:100vw;
    -webkit-mask-image: linear-gradient(
      to bottom,
      black 85%
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      black 85%,
      transparent 100%
    );
}

.cta-btn1 {
    position:relative;
    display:inline-block;
    width:345px;
    height: 75px;

    left: 33vw;
    margin-top:25px;

    transition: all 0.5s ease;
}

.cta-btn {
    display:flex;
    width: 280px;
    height: 75px;
    position:absolute;
    top: 0;
    right: 0;

    align-items: center;
    justify-content: center;
    background: #7795A4;
    color: white;
    font-family: 'Harlow';
    text-decoration: none;
    font-size: 36px;
    transition: all 0.2s ease;
    clip-path: polygon(
        0% 0%,18% 0%,21% 10%,23% 0%, 80% 0%, 100% 50%,
        80% 100%,30% 100%,27% 90%,25% 100%, 10% 100%);
    z-index: 2;
}

.cta-btn-flame {
    position:absolute;
    top:0;
    left: 0;

    width: 70px;
    height: 75px;
    background: #E5AB63;
    border-radius: 50%;

    z-index:1;
}

.cta-btn1:hover {
    transform:translateX(50px);
}

.tutor-name123 {
  font-family:"Harlow";
  color: #E5AB63;
  font-size:80px;
  font-weight:100;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.88);
  z-index: 0;
}
/* ---------- Reviews Section ---------- */
.reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 4rem auto 8rem;
  gap: 8rem;
}

.review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.review:nth-child(even) {
  flex-direction: row-reverse;
}

.review-img {
  width: 45%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
}

.review-text {
  width: 45%;
}

.review-text h3 {
  margin: 0.5rem 0;
  font-weight: 500;
}

.stars {
  font-size: 1.3rem;
  color: #f1c40f;
  margin: 0;
}

.quote {
  font-style: italic;
  color: #333;
  margin-top: 5px;
}

/* ---------- Sticky Footer ---------- */
.sticky-footer {
  position: sticky;
  bottom: 0;
  background: white;
  border-top: 1px solid #eee;
  text-align: center;
  padding: 1rem 0;
}

.pricing-btn {
  background: #111;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
}

.pricing-btn:hover {
  background: #333;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .review {
    flex-direction: column !important;
    text-align: center;
  }
  .review-img, .review-text {
    width: 100%;
  }
}

/* ---------- Homepage Sections ---------- */
.section {
  background: var(--card-bg);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 1px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.value-card {
  border: 1px solid var(--soft-line);
  border-radius: 20px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.value-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.value-card p {
  margin: 0;
  color: #3d3d3d;
}

.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--soft-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ink);
}

.resource-preview {
  background: linear-gradient(135deg, #f8f8f8, #ececec);
  position: relative;
  overflow: hidden;
}

.resource-shell {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.65);
}

.resource-scroll {
  max-height: 520px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

.resource-scroll::-webkit-scrollbar {
  width: 6px;
}

.resource-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}

.resource-page {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.resource-scroll.locked {
  overflow: hidden;
}

.resource-scroll.locked .resource-page {
  filter: blur(3px);
}

.resource-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.55);
  color: white;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(6px);
}

.resource-overlay.active {
  opacity: 1;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.step {
  border-radius: 22px;
  padding: 1.5rem;
  border: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, 0.95);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.subjects .section-heading {
  margin-bottom: 1.5rem;
}

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

.subject-card {
  border-radius: 20px;
  padding: 1.25rem;
  border: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subject-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.why-section {
  background: radial-gradient(circle at top, rgba(12, 12, 12, 0.95), rgba(12, 12, 12, 0.85));
  color: white;
  text-align: center;
}

.why-section .section-heading p {
  color: rgba(255, 255, 255, 0.6);
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.why-list li {
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.75rem;
  border-radius: 999px;
  background: white;
  color: #0f0f0f;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.commitment {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.commitment-card {
  border-radius: 32px;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  background: white;
  border: 1px solid var(--soft-line);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.commitment-card h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.commitment-card p {
  margin-bottom: 0;
  color: #333;
  line-height: 1.8;
}

/* Animation helpers */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.js-enabled .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-parallax] {
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
}

@media (max-width: 768px) {
  main {
    width: min(95%, 640px);
  }

  .section {
    border-radius: 24px;
  }
}

/* ---------- About Section ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 241, 241, 0.8));
  border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.about-img {
  width: 100%;
  border-radius: 24px;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
  font-size: clamp();
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 0.9rem;
  color: #2c2c2c;
  line-height: 1.8;
  margin-top:-10px;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about-text {
    order: 2;
  }

  .about-img {
    order: 1;
  }
}

/* ---------- Bundles Section ---------- */
.bundle-section,
.pricing {
  text-align: center;
}

.bundle-hero-card,
.pricing-card {
  background: linear-gradient(160deg, #ffffff, #f4f5f8);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.08);
  padding: clamp(1.5rem, 3vw, 2.8rem);
}

.bundle-hero-card h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.bundle-intro {
  margin: 0 auto;
  max-width: 70ch;
  color: #2b2b2b;
}

.bundle-pill-row {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bundle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  font-weight: 500;
}

.pricing-subtitle {
  margin: 0.5rem auto 1.25rem;
  max-width: 60ch;
  color: #4a4a4a;
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing table {
  margin-left: auto;
  margin-right: auto;
  width: min(100%, 760px);
  display: table;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.pricing th,
.pricing td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  text-align: left;
  vertical-align: top;
}

.pricing tr:last-child td {
  border-bottom: none;
}

.pricing th {
  background: #111;
  color: #fff;
  font-weight: 600;
}

.bundle-discount-grid {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.bundle-discount-card {
  margin: 0;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 16px;
  padding: 0.75rem 0.8rem;
  background: #fff;
}

.bundle-hours,
.bundle-save {
  margin: 0;
}

.bundle-hours {
  font-weight: 600;
}

.bundle-save {
  color: #444;
  font-size: 0.95rem;
}

.pricing-note {
  margin-top: 1.2rem;
  color: #2f2f2f;
  font-weight: 500;
}

.normal-footer {
  text-align: center;
}

@media (max-width: 640px) {
  .pricing th,
  .pricing td {
    padding: 0.72rem;
    font-size: 0.92rem;
  }
}

/*footer of bundles section*/
html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.off-screen-menu.active {
  right: 0;
}

body.no-background::before,
body.no-background::after {
  display: none;
}

/* ----------- book now ------------*/
.book-now {
  text-align:center;
}

/* Hamburger icon styles */
.hamburger {
  position: absolute;
  top: 1.2rem;
  left: 1rem;
  cursor: pointer;
  z-index: 20;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #111;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.off-screen-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(420px, 82%);
  height: 100%;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 3.5rem 2.5rem 2.75rem;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 15;
  color: #111;
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.2);
}

.off-screen-menu [hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.off-screen-menu.active {
  right: 0;
  opacity: 1;
  pointer-events: auto;
}

.off-screen-menu a,
.off-screen-menu .menu-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.85rem 1.6rem;
  margin: 0;
  border-radius: 999px;
  border: 1px solid #000000;
  background: #000000;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  gap: 0.35rem;
  appearance: none;
  border-width: 1px;
}

.off-screen-menu a:hover,
.off-screen-menu a:focus-visible,
.off-screen-menu .menu-action:hover,
.off-screen-menu .menu-action:focus-visible {
  background: #333333;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

.off-screen-menu a:focus-visible,
.off-screen-menu .menu-action:focus-visible {
  outline: 3px solid rgba(136, 136, 136, 0.85);
  outline-offset: 3px;
}

.off-screen-menu .auth-signout {
  font-family: inherit;
  font-weight: 500;
  background-clip: padding-box;
}

.off-screen-menu .auth-link {
  width: 100%;
  text-align: center;
}

.off-screen-menu .auth-link--primary {
  font-weight: 600;
}

.off-screen-menu .auth-link--primary:hover,
.off-screen-menu .auth-link--primary:focus-visible {
  transform: translateY(-2px);
}

.off-screen-menu .auth-status {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #444444;
  margin-top: 0.35rem;
}

/* ---------- Book now page ---------- */
/* Header */
.site-header {
  background: white;
  border-bottom: 1px solid #eee;
  text-align: center;
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header h1 {
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  margin: 0;
}

/* Main layout */
.book-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 70px); /* full viewport minus header */
}

.book-option {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  overflow: hidden;
  perspective: 800px; /* for 3D tilt effect */
}

/* Background images (temporary until JS replaces them) */
.book-option:nth-child(1) {
  background: url("images/Picture1.jpg") center/cover no-repeat;
}

.book-option:nth-child(2) {
  background: url("images/Picture2.jpg") center/cover no-repeat;
}

.book-option .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.book-option h2 {
  position: relative;
  font-size: 2.2rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 2px;
  z-index: 2;
  transition: transform 0.2s ease, text-shadow 0.3s ease;
}

/* Slight darken when hovering */
.book-option:hover .overlay {
  background: rgba(0, 0, 0, 0.4);
}

.book-option .background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0.15s ease-out, background-position 0.15s ease-out;
  z-index: 0;
}

/* ---------- Animation Styles ---------- */
@keyframes slideFadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-img,
.about-text,
.review-img,
.review-text {
  opacity: 1;
  transform: none;
  transition: all 0.8s ease-out;
}

.js-enabled .about-img,
.js-enabled .about-text,
.js-enabled .review-img,
.js-enabled .review-text {
  opacity: 0;
  transform: translateX(-40px);
}

.js-enabled .is-visible .about-img,
.js-enabled .is-visible .review-img {
  animation: slideFadeInLeft 0.8s ease-out forwards;
}

.js-enabled .is-visible .about-text,
.js-enabled .is-visible .review-text {
  animation: slideFadeInLeft 0.8s ease-out forwards;
  animation-delay: 0.2s; /* text slides slightly after image */
}

/* ---------- Background decorations ---------- */
/* Background images */
body::before,
body::after {
  content: "";
  position: fixed;
  background-repeat: no-repeat;
  background-size: cover; /* fill their boxes proportionally */
  z-index: -1;
  pointer-events: none;
}

/* Bottom-left image */
body::before {
  background-image: url("images/2.jpg");
  bottom: 0;
  left: 0;
  width: 38vw;  /* wider */
  height: 38vw;
  opacity: 0.5; /* lighter */
}

/* Top-right image */
body::after {
  background-image: url("images/1.jpg");
  top: 0;
  right: 0;
  width: 48vw;  /* wider too */
  height: 48vw;
  opacity: 0.8; /* darker */
}

/* Keep content above backgrounds */
header, main, footer {
  position: relative;
  z-index: 1;
}

/* ---------- Calendar page ---------- */
.calendar-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
}

.calendar-container {
  width: min(900px, 100%);
  background: #ffffff;
  border: 1px solid #f3f3f3;
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calendar-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 1.5px;
}

.calendar-subtitle {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.calendar-body {
  border: 1px solid #f3f3f3;
  border-radius: 16px;
  padding: 1.5rem;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.calendar-weekday {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #888;
  text-align: center;
}

.calendar-day {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.calendar-day:hover {
  transform: scale(1.05);
  border-color: #f3f3f3;
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.08);
}

.calendar-day.selected {
  transform: scale(1.08);
  border-color: #111;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.12);
}

.calendar-day.disabled {
  cursor: not-allowed;
  color: #bbb;
  border-color: transparent;
  background: #f7f7f7;
  box-shadow: none;
}

.calendar-day.disabled:hover {
  transform: none;
}

.calendar-day.unavailable {
  cursor: not-allowed;
  color: #c3c3c3;
  background: #f0f0f0;
  border-color: transparent;
  box-shadow: none;
}

.calendar-day.unavailable::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.08);
}

.admin-availability__calendar .calendar-day.calendar-day--has-unavailable::after,
.admin-calendar .calendar-day.calendar-day--has-unavailable::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f97316;
}

.admin-availability__calendar .calendar-day.calendar-day--fully-unavailable,
.admin-calendar .calendar-day.calendar-day--fully-unavailable {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-availability__calendar .calendar-day.calendar-day--fully-unavailable::after,
.admin-calendar .calendar-day.calendar-day--fully-unavailable::after {
  background: #ef4444;
}

.calendar-helper {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.calendar-footer {
  padding: 1.5rem;
  border-top: 1px solid #f3f3f3;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
}

.select-time-button {
  padding: 0.9rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.select-time-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.select-time-button:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.18);
}

@media (max-width: 700px) {
  .calendar-container {
    padding: 2rem 1.2rem 1.5rem;
  }

  .calendar-body {
    padding: 1.2rem;
  }

  .calendar-day {
    font-size: 0.95rem;
  }
}

/* ---------- Select Time page ---------- */
.select-time-page {
  display: flex;
  justify-content: center;
  padding: 3.5rem 1.5rem 4rem;
}

.select-time-container {
  width: min(960px, 100%);
  background: #ffffff;
  border: 1px solid #f3f3f3;
  border-radius: 22px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 20px 55px rgba(17, 17, 17, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.select-time-title {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 1.5px;
}

.select-time-helper {
  margin: 0;
  font-size: 1rem;
  color: #555;
}

.select-time-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-height: 65vh;
  overflow-y: auto;
  padding: 3rem 1.5rem 3rem 0.5rem;
  scroll-snap-type: y proximity;
  overscroll-behavior: contain;
  scroll-padding-top: 40%;
  scroll-padding-bottom: 40%;
}


.select-time-list:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

.select-time-list::-webkit-scrollbar {
  width: 8px;
}

.select-time-list::-webkit-scrollbar-track {
  background: transparent;
}

.select-time-list::-webkit-scrollbar-thumb {
  background: #d7d7d7;
  border-radius: 999px;
}

.select-time-list--empty {
  max-height: none;
  padding: 0;
}

.date-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1fr;
  gap: 2rem;
  padding: 2.2rem 2.4rem;
  border-radius: 20px;
  border: 1px solid #f3f3f3;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.06);
  transform: scale(0.95);
  opacity: 0.8;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  scroll-snap-align: center;
}

.date-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 25px 45px rgba(17, 17, 17, 0.08);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.date-card.focused {
  transform: scale(1.05);
  opacity: 1;
  box-shadow: 0 28px 60px rgba(17, 17, 17, 0.14);
}

.date-card.focused::after {
  opacity: 1;
}

.date-card.focused .date-card__weekday,
.date-card.focused .date-card__full {
  font-weight: 700;
}

.date-card.locked {
  opacity: 0.55;
}

.date-card.syncing {
  opacity: 0.65;
  cursor: progress;
}

.date-card.syncing .date-card__status {
  color: #64748b;
}

.date-card__date {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  align-self: flex-start;
}

.date-card__weekday {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #777;
}

.date-card__full {
  font-size: 1.4rem;
  font-weight: 500;
  color: #111;
}

.date-card__status {
  font-size: 0.85rem;
  color: #888;
}

.date-card.locked .date-card__status {
  color: #aaa;
}

.date-card__times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.time-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: #f7f7f7;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.time-option input {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #bfbfbf;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  background: #ffffff;
}

.time-option input::after {
  content: "";
  width: 6px;
  height: 12px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  display: block;
  transform: rotate(45deg);
}

.time-option input:checked {
  background: #111;
  border-color: #111;
}

.time-option input:checked::after {
  border-color: #ffffff;
}

.time-option input:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.time-option span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}

.time-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.1);
}

.time-option--unavailable,
.date-card.locked .time-option--unavailable {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  background: #f1f5f9;
}

.time-option--syncing {
  cursor: progress;
  opacity: 0.6;
  background: #f8fafc;
  box-shadow: none;
}

.time-option--syncing span {
  color: #94a3b8;
}

.time-option--syncing input {
  border-color: #cbd5e1;
  background: #e2e8f0;
}

.time-option--unavailable:hover {
  transform: none;
}

.time-option--unavailable span {
  color: #94a3b8;
}

.time-option--unavailable input {
  border-color: #cbd5e1;
  background: #e2e8f0;
}

.date-card.locked .time-option {
  cursor: not-allowed;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.04);
}

.date-card.locked .time-option:hover {
  transform: none;
}

.date-card.locked .time-option input {
  border-color: #d7d7d7;
  background: #f9f9f9;
}

.select-time-empty {
  margin: 0;
  font-size: 0.95rem;
  color: #777;
}

.select-time-empty a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.select-time-empty a:hover {
  border-color: #111;
}

.select-time-next {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}

.select-time-next__button {
  padding: 0.9rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.select-time-next__button:hover,
.select-time-next__button:focus-visible {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
}

.select-time-next__button:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.25);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .date-card {
    grid-template-columns: minmax(160px, 1fr) 1.2fr;
    padding: 2rem 2rem;
  }
}

@media (max-width: 700px) {
  .select-time-container {
    padding: 2.2rem 1.5rem;
  }

  .date-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.8rem 1.6rem;
  }

  .date-card__date {
    position: static;
    align-items: flex-start;
    transform: none;
  }

  .date-card__times {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* ---------- Select Subjects page ---------- */
.subjects-page {
  display: flex;
  justify-content: center;
  padding: 3.5rem 1.5rem 4rem;
}

.subjects-container {
  width: min(900px, 100%);
  background: #ffffff;
  border: 1px solid #f3f3f3;
  border-radius: 22px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 20px 55px rgba(17, 17, 17, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.subjects-title {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 1.5px;
}

.subjects-helper {
  margin: 0;
  font-size: 1rem;
  color: #555;
}

.subjects-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-height: 65vh;
  overflow-y: auto;
  padding: 3rem 1.5rem 3rem 0.5rem;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 40%;
  scroll-padding-bottom: 40%;
}

.subjects-list:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

.subjects-list::-webkit-scrollbar {
  width: 8px;
}

.subjects-list::-webkit-scrollbar-track {
  background: transparent;
}

.subjects-list::-webkit-scrollbar-thumb {
  background: #d7d7d7;
  border-radius: 999px;
}

.subjects-list--empty {
  max-height: none;
  padding: 0;
}

.subjects-empty {
  margin: 0;
  font-size: 0.95rem;
  color: #777;
}

.subjects-empty a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.subjects-empty a:hover {
  border-color: #111;
}

.subject-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.4rem 2.6rem;
  border-radius: 22px;
  border: 1px solid #f3f3f3;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.06);
  transform: scale(0.92);
  opacity: 0.8;
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
  scroll-snap-align: center;
}

.subject-card.focused {
  transform: scale(1.05);
  opacity: 1;
  box-shadow: 0 28px 60px rgba(17, 17, 17, 0.14);
}

.subject-card--complete {
  border-color: #111;
}

.subject-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.subject-card__sequence {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
}

.subject-card__date {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
}

.subject-card__time {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
}

.subject-card__prompt {
  margin: 0;
  text-align: center;
  color: #666;
}

.subject-card--complete .subject-card__prompt {
  color: #2f8f46;
}

.subject-card__options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.subject-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 14px;
  background: #f7f7f7;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.subject-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.1);
}

.subject-option input {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #bfbfbf;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  background: #ffffff;
}

.subject-option input::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.2s ease;
}

.subject-option input:checked {
  background: #111;
  border-color: #111;
}

.subject-option input:checked::after {
  background: #ffffff;
}

.subject-option input:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.subject-option span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
}

.subjects-footer {
  padding: 1.5rem;
  border-top: 1px solid #f3f3f3;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
}

.subjects-checkout {
  padding: 0.9rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.subjects-checkout:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.subjects-checkout:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.18);
}

@media (max-width: 900px) {
  .subjects-container {
    padding: 2.4rem 2rem;
  }

  .subject-card {
    padding: 2.2rem 2.2rem;
  }
}

@media (max-width: 700px) {
  .subjects-container {
    padding: 2.2rem 1.5rem;
  }

  .subjects-list {
    padding: 2.5rem 0.5rem 2.5rem 0.5rem;
  }

  .subject-card {
    padding: 2rem 1.6rem;
  }

  .subject-option {
    width: 100%;
    justify-content: center;
  }

  .subject-option span {
    white-space: normal;
    text-align: center;
  }
}


/* ---------- Authentication Pages ---------- */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.auth-card {
  width: min(460px, 100%);
  background: #ffffff;
  border: 1px solid #f1f1f1;
  border-radius: 18px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.auth-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.auth-intro {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.auth-field label {
  font-weight: 600;
  letter-spacing: 0.4px;
}

.auth-field input,
.auth-field select {
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus-visible,
.auth-field select:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.12);
}

.auth-hint {
  margin: 0;
  font-size: 0.85rem;
  color: #777;
}

.auth-submit {
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 0.95rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.2);
}

.auth-switch {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.auth-switch a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.auth-switch a:hover,
.auth-switch a:focus-visible {
  border-color: #111;
}

@media (max-width: 600px) {
  .auth-card {
    padding: 2rem 1.75rem;
  }
}

/* ---------- Checkout ---------- */
.checkout-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 60%);
}

.checkout-panel {
  width: min(920px, 100%);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.12);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 2.5rem;
}

.checkout-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.checkout-intro {
  margin: 0;
  color: #4b5563;
}

.checkout-summary {
  background: #f9fafb;
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.checkout-summary__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.checkout-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.checkout-summary__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-summary__details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.checkout-summary__subject {
  font-weight: 600;
}

.checkout-summary__datetime {
  color: #6b7280;
  font-size: 0.95rem;
}

.checkout-summary__price {
  font-weight: 600;
}

.checkout-summary__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
}

.checkout-payment {
  display: grid;
  gap: 1.5rem;
}

.checkout-payment__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.checkout-embed {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  background: #fff;
}

.checkout-status {
  margin: 0;
  color: #4b5563;
}

.checkout-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.checkout-divider::before,
.checkout-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.4), rgba(148, 163, 184, 0));
}

.checkout-divider::after {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.4));
}

.checkout-redirect {
  border: none;
  background: #111827;
  color: #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.checkout-redirect:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 64, 175, 0.3);
}

.checkout-redirect:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .checkout-panel {
    border-radius: 16px;
    padding: 1.75rem;
  }

  .checkout-summary {
    padding: 1.25rem;
  }
}

/* ---------- Checkout Result ---------- */
.checkout-result {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 60%);
}

.checkout-result__panel {
  background: #fff;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
  display: grid;
  gap: 1rem;
  width: min(520px, 100%);
}

.checkout-result__panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
}

.checkout-result__panel p {
  margin: 0;
  color: #4b5563;
}

.checkout-result__cta {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-result__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(30, 64, 175, 0.3);
}

.checkout-result__link {
  color: #1f2937;
  text-decoration: underline;
  font-weight: 500;
}

button.checkout-result__link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.checkout-result__panel form {
  display: grid;
  gap: 0.75rem;
}

.checkout-result__panel input[type="text"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Admin Dashboard ---------- */
.admin-page {
  min-height: calc(100vh - 160px);
  display: flex;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
  background: #f8fafc;
}

.admin-panel {
  width: min(1100px, 100%);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
}

.admin-availability {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(248, 250, 252, 0.9);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-availability__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-availability__title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  text-transform: lowercase;
}

.admin-availability__intro,
.admin-availability__helper {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}

.admin-availability__calendar {
  display: grid;
  gap: 0.75rem;
}

.admin-availability__calendar .calendar-weekdays,
.admin-availability__calendar .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-availability__calendar .calendar-day {
  font-size: 0.95rem;
}

.admin-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
}

.admin-intro {
  margin: 0;
  color: #4b5563;
}

.admin-loading,
.admin-error,
.admin-empty {
  margin: 0;
  font-size: 0.95rem;
}

.admin-error {
  color: #dc2626;
}

.admin-empty {
  color: #6b7280;
}

.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.admin-table th {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.admin-table td {
  font-size: 0.95rem;
  color: #1f2937;
}

.admin-table tbody tr:hover {
  background: rgba(226, 232, 240, 0.3);
}

.admin-table select {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-weight: 500;
  background: #fff;
  cursor: pointer;
}

[data-admin-modal][hidden],
[data-admin-modal-backdrop][hidden] {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 40;
}

.admin-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 50;
  overflow-y: auto;
}

.admin-modal__dialog {
  width: min(520px, 100%);
  max-height: min(90vh, 760px);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
}

.admin-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-modal__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.admin-modal__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #334155;
}

.admin-modal__date {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}

.admin-modal__times {
  display: grid;
  gap: 0.75rem;
  overflow-y: auto;
  padding-right: 0.3rem;
  flex: 1;
  min-height: 0;
}

.admin-modal__range {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.admin-modal__range-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-modal__range-label {
  display: grid;
  gap: 0.15rem;
}

.admin-modal__range-label p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: #64748b;
}

.admin-modal__range-label span {
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
}

.admin-modal__slider {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
}

.admin-modal__slider-track {
  position: absolute;
  inset: 50% 0 auto;
  height: 6px;
  transform: translateY(-50%);
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.admin-modal__slider-selection {
  position: absolute;
  inset: 50% auto auto 0;
  height: 8px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(134, 239, 172, 0.65), rgba(74, 222, 128, 0.85));
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.2);
  transition: left 0.2s ease, width 0.2s ease;
}

.admin-modal__slider-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.6);
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-modal__slider-handle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35), 0 8px 18px rgba(16, 185, 129, 0.25);
}

.admin-modal__slider.is-dragging .admin-modal__slider-selection,
.admin-modal__slider.is-dragging .admin-modal__slider-handle {
  transition: none;
}

.admin-modal__slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.24);
}

.admin-modal__range-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-modal__apply {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.65);
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.9), rgba(187, 247, 208, 0.9));
  color: #065f46;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-modal__apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(16, 185, 129, 0.25);
}

.admin-modal__notice {
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.15);
}

.admin-modal__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.admin-modal__toggle label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
}

.admin-modal__toggle input[type="checkbox"] {
  width: 44px;
  height: 24px;
  appearance: none;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #e2e8f0;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.admin-modal__toggle input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.admin-modal__toggle input[type="checkbox"]:checked {
  background: #0f172a;
  border-color: #0f172a;
}

.admin-modal__toggle input[type="checkbox"]:checked::after {
  transform: translateX(20px);
}

.admin-modal__toggle--unavailable {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
}

.admin-modal__toggle--unavailable label {
  color: #b91c1c;
}

.admin-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.admin-modal__confirm {
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-modal__confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

@media (max-width: 768px) {
  .admin-page {
    padding: 3rem 1rem 5rem;
  }

  .admin-panel {
    border-radius: 18px;
  }

  .admin-availability {
    padding: 1.25rem;
  }
}

/* ---------- Bundle Booking Page ---------- */
.bundle-booking {
  width: 90%;
  max-width: 1100px;
  margin: 4rem auto 6rem;
}

.bundle-hero {
  margin-bottom: 2.5rem;
  padding: 2.5rem 2.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f8fafc;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.9s ease forwards;
}

.bundle-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0 0 0.6rem 0;
}

.bundle-hero h2 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
}

.bundle-hero .lede {
  margin: 1rem 0 0;
  color: #e2e8f0;
  max-width: 650px;
  line-height: 1.7;
}

.fade-in {
  animation-delay: 0.15s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bundle-table-section {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-header p {
  margin: 0;
  color: #4b5563;
}

.bundle-table-wrapper {
  overflow-x: auto;
}

.bundle-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
}

.bundle-table th,
.bundle-table td {
  padding: 0.9rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.bundle-table th:first-child,
.bundle-table td:first-child {
  text-align: left;
}

.bundle-table thead th {
  background: #0f172a;
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.bundle-table tbody tr:hover {
  background: #f8fafc;
}

.bundle-option {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  transform: scale(0.98);
}

.bundle-option:focus-visible {
  outline: 3px solid #c7d2fe;
  outline-offset: 2px;
}

.bundle-option.is-active {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #f9fafb;
  border-color: #111827;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.24);
  transform: scale(1.03);
}

.bundle-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.bundle-summary p {
  margin: 0;
  color: #374151;
  font-weight: 600;
}

.bundle-cta {
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.bundle-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.bundle-cta:not(:disabled) {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.bundle-cta:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .bundle-hero {
    padding: 2rem 1.5rem;
  }

  .bundle-hero h2 {
    font-size: 1.7rem;
  }

  .bundle-table-section {
    padding: 1.5rem;
  }

  .bundle-table {
    min-width: 640px;
  }

  .bundle-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .bundle-cta {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Resources Page ---------- */
.resources-page {
  width: min(1200px, 92%);
  margin: 0 auto 6rem;
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.resources-hero {
  background: var(--card-bg);
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.resources-hero h2 {
  margin: 0.15rem 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.resources-hero p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.resources-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.resources-sidebar {
  background: #fff;
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: sticky;
  top: 90px;
}

.resources-status {
  font-size: 0.95rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f6f6f6;
  border: 1px solid var(--soft-line);
  color: #222;
}

.resources-status[data-state="error"] {
  border-color: #ffb7b7;
  background: #fff5f5;
  color: #b00020;
}

.resources-status[data-state="warning"] {
  border-color: #ffe3a3;
  background: #fff9eb;
  color: #8a5b00;
}

.resources-status[data-state="info"] {
  border-color: #c8ddff;
  background: #f2f6ff;
  color: #0b4ea4;
}

.resources-loading {
  font-size: 0.95rem;
  color: var(--muted);
}

.resources-empty {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.resources-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.resource-card {
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.resource-card__meta h3 {
  margin: 0.2rem 0;
  font-size: 1.1rem;
}

.resource-card__description {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.resource-card__actions {
  flex-shrink: 0;
}

.resources-body {
  background: #fff;
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resources-paywall {
  border: 1px dashed var(--soft-line);
  border-radius: 12px;
  padding: 1.25rem;
  background: #fffdf7;
}

.resources-paywall h3 {
  margin: 0 0 0.35rem;
}

.resources-paywall p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.resources-viewer__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.resources-viewer__header h3 {
  margin: 0.1rem 0;
  font-size: 1.4rem;
}

.resources-viewer__description {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.resources-frame {
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
}

.resources-frame iframe {
  width: 100%;
  height: 70vh;
  border: none;
}

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

  .resources-sidebar {
    position: static;
  }
}
