@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700&display=swap");

:root {
  --tutor-bg: #fffaf0;
  --tutor-surface: #ffffff;
  --tutor-surface-alt: #faf6ea;
  --tutor-ink: #191919;
  --tutor-muted: rgba(25, 25, 25, 0.72);
  --tutor-line: rgba(25, 25, 25, 0.1);
  --tutor-gold: #f4b925;
  --tutor-gold-deep: #5c4305;
  --tutor-header-surface: #fbf4ec;
  --tutor-header-border: #eadccf;
  --tutor-header-link: #7a2630;
  --tutor-header-link-hover: #612029;
  --tutor-shadow: 0 18px 50px rgba(34, 26, 12, 0.1);
  --tutor-radius-lg: 28px;
  --tutor-radius-md: 18px;
  --tutor-radius-sm: 999px;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100%;
  background: #fffaf0 !important;
  overflow-x: hidden;
}

body .main-section,
body .layout-main-section,
body .layout-main,
body .page-body,
body .page-wrapper,
body .page_content,
body .page-content,
body .web-page-content,
body .page-card,
body .container,
body .container-fluid,
body .page-form,
body .page-form-body,
body .layout-side-section,
body .page-head,
body .page-head-content,
main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
}

body .layout-main-section-wrapper,
body .standard-page,
body .page-container,
body .page-header-wrapper,
body .page-footer,
body .web-footer,
body .footer,
body .page_content,
body .webpage-content,
body .page-content-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #fffaf0 !important;
}

body .page-head,
body .page-head-content,
body .page-breadcrumbs,
body .page-title,
body .page-actions,
body .page-form-header,
body .page-header-actions,
body .page-header-wrapper,
body .page-footer,
body .web-footer,
body .footer,
body .menu-btn-group,
body .sidebar-toggle-btn,
body .btn-open-sidebar,
body .navbar-toggler,
body .navbar-toggle,
body .sidebar-toggle,
body .menu-toggle,
body .mobile-menu,
body .offcanvas-toggle,
body [class*="sidebar-toggle"],
body [class*="menu-toggle"],
body [class*="navbar-toggler"],
body .layout-side-section {
  display: none !important;
}

body .page-card {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.web-header,
.page-header-wrapper,
.page-footer,
.web-footer,
.footer {
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  display: none !important;
}

header:not(.student-tutor-topbar),
nav.navbar,
.navbar,
.website-navbar {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.navbar .navbar-brand,
.navbar .avatar,
.navbar .dropdown-navbar-user,
.navbar .dropdown-help,
.navbar .btn-login,
.navbar .login-link,
.navbar .nav-item.dropdown,
.navbar .dropdown-toggle,
.navbar .nav-link,
.web-header .navbar-brand,
.web-header .navbar-brand img,
.web-header .navbar-brand svg,
.web-header .right-items,
.web-header .navbar-nav,
.web-header .nav,
.web-header .brand-logo,
.web-header .app-logo,
.web-header a[href="/login"],
.web-header a[href*="login"],
.web-header .avatar-frame,
.web-header .user-image {
  display: none !important;
}

body > .web-header,
body > header:not(.student-tutor-topbar),
body > nav.navbar,
body > .navbar,
body > .website-navbar,
.web-header .container,
.web-header .container-fluid,
.web-header .header-left,
.web-header .left-items,
.web-header .navbar-header,
.web-header .navbar-home,
.web-header .home-link,
.website-navbar .container,
.website-navbar .container-fluid,
.website-navbar .header-left,
.website-navbar .left-items,
.website-navbar .navbar-header,
.website-navbar .navbar-home,
.website-navbar .home-link {
  display: none !important;
}

.student-tutor-page {
  min-height: 100vh;
  width: 100%;
  background:
    radial-gradient(circle at top left, rgba(244, 185, 37, 0.18), transparent 22rem),
    linear-gradient(180deg, #fffef9 0%, var(--tutor-bg) 58%, #fff4cf 100%);
  color: var(--tutor-ink);
  font-family: "Open Sans", sans-serif;
  box-shadow: 0 0 0 100vmax var(--tutor-bg);
  clip-path: inset(0 -100vmax);
}

.student-tutor-page * {
  box-sizing: border-box;
}

.student-tutor-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.student-tutor-topbar {
  background: var(--tutor-header-surface);
  border-bottom: 1px solid var(--tutor-header-border);
  box-shadow: 0 10px 30px rgba(97, 32, 41, 0.06);
  font-family: Arial, sans-serif;
}

.student-tutor-topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.student-tutor-topbar__brand img {
  display: block;
  width: 52px;
  height: auto;
}

.student-tutor-auth__btn,
.student-tutor-topbar__nav a,
.student-tutor-chip {
  transition: 180ms ease;
}

.student-tutor-topbar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.student-tutor-topbar__nav a {
  color: var(--tutor-header-link);
  text-decoration: none;
  font-size: 15px;
}

.student-tutor-topbar__nav a:hover {
  color: var(--tutor-header-link-hover);
}

.student-tutor-topbar__nav a[aria-current="page"] {
  color: #efb83b;
}

.student-tutor-auth {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.student-tutor-auth__guest {
  display: flex;
  gap: 8px;
}

.student-tutor-auth__btn {
  text-decoration: none;
  min-width: 68px;
  height: 28px;
  padding: 0 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  font-family: Arial, sans-serif;
}

.student-tutor-auth__btn--light {
  background: #ffffff;
  color: #212127;
  border: 1px solid var(--tutor-header-border);
}

.student-tutor-auth__btn--gold {
  background: #efb83b;
  color: #4a3204;
}

.student-tutor-user-menu {
  display: none;
  position: relative;
}

.student-tutor-user-menu summary {
  list-style: none;
  cursor: pointer;
}

.student-tutor-user-menu summary::-webkit-details-marker {
  display: none;
}

.student-tutor-user-menu__toggle {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.student-tutor-user-menu__avatar,
.student-tutor-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.student-tutor-user-menu__avatar {
  background: linear-gradient(135deg, #f7d97d, #d89b2a);
  color: #332008;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-family: Arial, sans-serif;
}

.student-tutor-user-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 176px;
  padding: 10px;
  border: 1px solid #e4dbcd;
  background: #fff;
  box-shadow: 0 12px 24px rgba(36, 29, 15, 0.14);
}

.student-tutor-user-menu__name {
  margin: 0 0 10px;
  color: #212127;
  font-size: 13px;
  font-weight: 700;
}

.student-tutor-user-menu__link {
  display: block;
  padding: 10px 12px;
  color: #212127;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.student-tutor-user-menu__link:hover {
  background: #f8f3e7;
}

.student-tutor-page[data-is-logged-in="1"] .student-tutor-auth__guest {
  display: none;
}

.student-tutor-page[data-is-logged-in="1"] .student-tutor-user-menu {
  display: block;
}

.student-tutor-main {
  padding-bottom: 72px;
}

.student-tutor-listing {
  padding-bottom: 52px;
}

.student-tutor-hero {
  padding: 80px 0 34px;
  text-align: center;
}

.student-tutor-hero__eyebrow,
.student-tutor-card h2 {
  font-family: "Merriweather", serif;
}

.student-tutor-hero__eyebrow {
  margin: 0 0 18px;
  color: var(--tutor-gold-deep);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.student-tutor-hero h1 {
  margin: 0 auto 18px;
  max-width: 14ch;
  font-family: "Merriweather", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
  color: var(--tutor-gold);
}

.student-tutor-hero p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--tutor-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.student-tutor-filters {
  padding-bottom: 34px;
}

.student-tutor-booked-summary {
  margin-bottom: 28px;
  padding: 26px 28px;
  border-radius: var(--tutor-radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(244, 185, 37, 0.18);
  box-shadow: var(--tutor-shadow);
}

.student-tutor-booked-summary__head {
  margin-bottom: 18px;
}

.student-tutor-booked-summary__head h2 {
  margin: 0 0 6px;
  font-family: "Merriweather", serif;
  font-size: 1.55rem;
}

.student-tutor-booked-summary__head p {
  margin: 0;
  color: var(--tutor-muted);
}

.student-tutor-booked-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.student-tutor-booked-card {
  padding: 18px;
  border-radius: 18px;
  background: #fffdf7;
  border: 1px solid rgba(92, 67, 5, 0.14);
}

.student-tutor-booked-card__eyebrow {
  margin: 0 0 8px;
  color: var(--tutor-gold-deep);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.student-tutor-booked-card h3 {
  margin: 0 0 8px;
  font-family: "Merriweather", serif;
  font-size: 1.15rem;
}

.student-tutor-booked-card__time {
  margin: 0 0 12px;
  color: var(--tutor-muted);
}

.student-tutor-booked-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: var(--tutor-radius-sm);
  background: rgba(244, 185, 37, 0.12);
  color: var(--tutor-gold-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.student-tutor-booked-card__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.student-tutor-booked-card__action {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: 180ms ease;
}

.student-tutor-booked-card__action--join {
  background: var(--tutor-gold);
  color: var(--tutor-gold-deep);
}

.student-tutor-booked-card__action--cancel {
  border: 1px solid rgba(92, 67, 5, 0.22);
  background: transparent;
  color: var(--tutor-ink);
}

.student-tutor-booked-card__action.is-disabled {
  opacity: 0.56;
  pointer-events: none;
}

.student-tutor-chipbar {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.student-tutor-chip {
  border: 1px solid rgba(244, 185, 37, 0.45);
  background: rgba(255, 255, 255, 0.84);
  color: var(--tutor-gold-deep);
  border-radius: var(--tutor-radius-sm);
  padding: 11px 18px;
  font: inherit;
  cursor: pointer;
}

.student-tutor-chip.is-active,
.student-tutor-chip:hover {
  background: var(--tutor-gold);
  border-color: var(--tutor-gold);
}

.student-tutor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 32px;
}

.student-tutor-card {
  position: relative;
  width: min(100%, 360px);
  background: var(--tutor-surface);
  border-radius: var(--tutor-radius-lg);
  box-shadow: var(--tutor-shadow);
  padding: 24px 24px 28px;
  text-align: center;
  border: 1px solid rgba(244, 185, 37, 0.12);
  opacity: 1;
  transform: none;
  margin: 0 auto;
}

.student-tutor-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.student-tutor-card--empty {
  opacity: 1;
  transform: none;
}

.student-tutor-card__avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.student-tutor-card__image {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(244, 185, 37, 0.18);
}

.student-tutor-card__avatar {
  background: linear-gradient(135deg, #fce6a8, #fff6d8);
  color: var(--tutor-gold-deep);
  font-weight: 800;
  font-size: 1.1rem;
  width: 88px;
  height: 88px;
}

.student-tutor-card h2 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.3;
}

.student-tutor-card__headline {
  margin: 8px 0 12px;
  color: var(--tutor-gold);
  font-size: 0.98rem;
  font-weight: 700;
}

.student-tutor-card__course {
  margin: 0 0 14px;
  color: var(--tutor-muted);
  line-height: 1.6;
}

.student-tutor-card__course strong {
  color: var(--tutor-ink);
}

.student-tutor-card__course a {
  color: #7a2630;
  font-weight: 700;
  text-decoration: none;
}

.student-tutor-card__course a:hover {
  color: #612029;
  text-decoration: underline;
}

.student-tutor-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #5d6678;
  font-size: 0.92rem;
}

.student-tutor-card__rating-star {
  color: #f59e0b;
}

.student-tutor-card__experience,
.student-tutor-card__quote {
  margin: 0 0 14px;
  color: var(--tutor-muted);
  line-height: 1.6;
}

.student-tutor-card__quote {
  font-style: italic;
}

.student-tutor-card__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.student-tutor-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: var(--tutor-radius-sm);
  border: 1px solid rgba(92, 67, 5, 0.16);
  background: rgba(244, 185, 37, 0.12);
  color: var(--tutor-gold-deep);
  font-size: 0.83rem;
  font-weight: 700;
}

.student-tutor-empty-filter {
  margin: 24px 0 0;
  text-align: center;
  color: var(--tutor-muted);
}

.student-tutor-footer {
  margin-top: 48px;
  background: #efb83b;
  padding: 36px 0 20px;
  box-shadow: 0 100vmax 0 100vmax #efb83b;
  clip-path: inset(0 -100vmax -100vmax -100vmax);
  font-family: Arial, sans-serif;
}

.student-tutor-footer__content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 40px;
}

.student-tutor-footer__brand {
  max-width: 360px;
}

.student-tutor-footer__mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(25, 25, 31, 0.1);
  font-family: "Merriweather", serif;
  font-weight: 700;
  margin-bottom: 14px;
  border: 0;
  color: #19191f;
  text-decoration: none;
}

.student-tutor-footer__brand p {
  margin: 0;
  line-height: 1.6;
}

.student-tutor-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.student-tutor-footer__nav h3 {
  margin: 0 0 12px;
  font-family: "Merriweather", serif;
}

.student-tutor-footer__nav a {
  display: block;
  color: rgba(25, 25, 31, 0.88);
  text-decoration: none;
  margin-bottom: 10px;
}

.student-tutor-footer__bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(25, 25, 31, 0.16);
  text-align: center;
}

.student-tutor-footer__bottom p {
  margin: 0;
}

@media (max-width: 960px) {
  .student-tutor-topbar__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 16px 0;
  }

  .student-tutor-footer__content,
  .student-tutor-footer__nav {
    grid-template-columns: 1fr;
  }

  .student-tutor-auth {
    justify-content: center;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .student-tutor-shell {
    width: min(100% - 20px, 1280px);
  }

  .student-tutor-topbar__nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .student-tutor-hero {
    padding-top: 56px;
  }

  .student-tutor-grid {
    grid-template-columns: 1fr;
  }

  .student-tutor-auth__guest {
    width: 100%;
    justify-content: center;
  }
}

