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

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

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: #f5f1e8 !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,
.web-header,
.page-header-wrapper,
.page-footer,
.web-footer,
.footer,
nav.navbar,
.navbar,
.website-navbar {
  display: none !important;
}

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

.student-batches-page {
  --page-bg: #f5f1e8;
  --surface: #ffffff;
  --surface-soft: #fbf8f2;
  --surface-muted: #f1ece2;
  --border: #e4dccd;
  --text: #191a1f;
  --muted: #6f6b63;
  --gold: #efb83b;
  --ink: #202127;
  --shadow: 0 18px 40px rgba(31, 24, 12, 0.08);
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(239, 184, 59, 0.08), transparent 28%), var(--page-bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  box-shadow: 0 0 0 100vmax var(--page-bg);
  clip-path: inset(0 -100vmax);
}

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

.student-batches-shell {
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto;
}

.student-batches-topbar {
  background: #fbf4ec;
  border-bottom: 1px solid #eadccf;
  box-shadow: 0 10px 30px rgba(97, 32, 41, 0.06);
}

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

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

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

.student-batches-topbar__nav {
  justify-content: center;
}

.student-batches-topbar__nav a,
.student-batches-auth__btn,
.student-batches-user-menu__link {
  color: #7a2630;
  text-decoration: none;
  font-family: Arial, sans-serif;
}

.student-batches-topbar__nav a:hover {
  color: #612029;
}

.student-batches-topbar__nav a[aria-current="page"] {
  color: var(--gold);
}

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

.student-batches-auth__guest {
  display: flex;
  align-items: center;
  gap: 8px;
}

.student-batches-auth__btn,
.student-batches-primary {
  font-weight: 700;
}

.student-batches-auth__btn {
  min-width: 68px;
  height: 28px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.student-batches-auth__btn--light {
  background: #ffffff;
  color: #212127;
  border: 1px solid #eadccf;
}

.student-batches-auth__btn--gold,
.student-batches-primary {
  background: var(--gold);
  color: #4a3204;
}

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

.student-batches-user-menu summary {
  list-style: none;
}

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

.student-batches-user-menu__toggle {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.student-batches-user-menu__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7d97d, #d89b2a);
  color: #332008;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: Arial, sans-serif;
}

.student-batches-user-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 176px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(36, 29, 15, 0.14);
  z-index: 5;
}

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

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

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

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

.student-batches-main {
  padding: 40px 0 64px;
}

.student-batches-intro,
.student-batches-summary,
.student-batches-panel,
.student-batches-batch-card,
.student-batches-live-card,
.student-batches-message-card,
.student-batches-empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.student-batches-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 18px;
  padding: 24px 28px;
}

.student-batches-intro__eyebrow,
.student-batches-section-label {
  margin: 0 0 12px;
  color: #8d6a16;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.student-batches-intro h1,
.student-batches-pagehead h2,
.student-batches-panel__head h2,
.student-batches-batch-card h3 {
  margin: 0;
  color: #15161c;
  font-family: "Merriweather", Georgia, serif;
}

.student-batches-intro p,
.student-batches-pagehead__meta,
.student-batches-batch-card p,
.student-batches-live-card span,
.student-batches-class-card span {
  color: var(--muted);
  line-height: 1.6;
}

.student-batches-intro__card {
  padding: 24px;
  border-radius: 24px;
  background: #32323a;
  color: #f9f6ee;
}

.student-batches-intro__card span {
  display: block;
  margin-bottom: 12px;
  color: #dfc889;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.student-batches-intro__card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
}

.student-batches-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.student-batches-summary article {
  padding: 24px;
  border-right: 1px solid var(--border);
}

.student-batches-summary article:last-child {
  border-right: 0;
}

.student-batches-summary span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.student-batches-summary strong {
  font-family: "Merriweather", Georgia, serif;
  font-size: 26px;
}

.student-batches-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.student-batches-sidebar,
.student-batches-detail,
.student-batches-panel-group,
.student-batches-list,
.student-batches-class-list,
.student-batches-live-list {
  display: grid;
  gap: 16px;
}

.student-batches-panel {
  padding: 24px;
}

.student-batches-panel--header {
  padding-bottom: 18px;
}

.student-batches-panel__head,
.student-batches-pagehead {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.student-batches-batch-card {
  padding: 22px;
}

.student-batches-batch-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.student-batches-batch-card__status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f5ead0;
  color: #8a6111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-batches-batch-card__meta,
.student-batches-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.student-batches-batch-card__meta {
  margin-bottom: 18px;
}

.student-batches-batch-card__meta span,
.student-batches-taglist span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: #49463f;
  font-size: 12px;
  font-weight: 700;
}

.student-batches-batch-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.student-batches-class-card,
.student-batches-live-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
}

.student-batches-menu-card {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.student-batches-menu-card:hover {
  border-color: #d9c18a;
  box-shadow: 0 12px 24px rgba(31, 24, 12, 0.08);
  transform: translateY(-1px);
}

.student-batches-menu-card--active {
  border-color: #d5a22d;
  background: #fff8e8;
  box-shadow: 0 14px 28px rgba(213, 162, 45, 0.14);
}

.student-batches-menu-card strong,
.student-batches-menu-card span {
  display: block;
}

.student-batches-menu-card strong {
  margin-bottom: 8px;
  color: #181920;
}

.student-batches-menu-card span {
  color: var(--muted);
  line-height: 1.6;
}

.student-batches-menu-card__status {
  display: inline-flex !important;
  width: auto;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f5ead0;
  color: #8a6111 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-batches-class-card strong,
.student-batches-live-card strong {
  display: block;
  margin-bottom: 8px;
  color: #181920;
}

.student-batches-class-card__action,
.student-batches-live-card__action,
.student-batches-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.student-batches-class-card__action,
.student-batches-live-card__action {
  margin-top: 12px;
  background: #1f2230;
  color: #f9f6ef;
}

.student-batches-loading,
.student-batches-message-card,
.student-batches-empty,
.student-batches-empty-inline {
  padding: 24px;
}

.student-batches-message-card {
  color: #a62c2c;
}

.student-batches-empty,
.student-batches-empty-inline {
  color: var(--muted);
}

.student-batches-footer {
  margin-top: 48px;
  background: var(--gold);
  padding: 36px 0 20px;
  box-shadow: 0 100vmax 0 100vmax var(--gold);
  clip-path: inset(0 -100vmax -100vmax -100vmax);
  color: #19191f;
}

.student-batches-footer .student-batches-shell {
  width: min(1280px, calc(100% - 32px));
}

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

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

.student-batches-footer__logo {
  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-batches-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.student-batches-footer__nav div {
  display: block;
}

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

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

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

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

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

@media (max-width: 1100px) {
  .student-batches-layout,
  .student-batches-intro,
  .student-batches-footer__content,
  .student-batches-batch-card__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .student-batches-shell {
    width: min(100%, calc(100% - 24px));
  }

  .student-batches-footer .student-batches-shell {
    width: min(1280px, calc(100% - 24px));
  }

  .student-batches-topbar__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 16px 0;
  }

  .student-batches-summary,
  .student-batches-footer__nav {
    grid-template-columns: 1fr;
  }

  .student-batches-summary article {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .student-batches-summary article:last-child {
    border-bottom: 0;
  }
}
