:root {
  --twl-classes-gold: #fece84;
  --twl-classes-gold-soft: #f6e6cf;
  --twl-classes-blue-light: #ebeffc;
  --twl-classes-blue-mid: #cfd9fa;
  --twl-classes-blue-focus: #90a3d2;
  --twl-classes-charcoal: #494949;
  --twl-classes-ink: #1f1f1f;
  --twl-classes-border: rgba(0, 0, 0, 0.68);
  --twl-classes-card-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  --twl-classes-field-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  --twl-classes-glass-dark: linear-gradient(180deg, rgba(82, 82, 86, 0.84), rgba(56, 56, 60, 0.8));
  --twl-classes-glass-light: linear-gradient(180deg, rgba(235, 239, 252, 0.28), rgba(221, 227, 246, 0.18));
  --twl-classes-gold-glow: 0 0 0 1px rgba(254, 206, 132, 0.35), 0 0 22px rgba(254, 206, 132, 0.18), 0 18px 32px rgba(0, 0, 0, 0.28);
  --twl-classes-gold-glow-strong: 0 0 0 1px rgba(254, 206, 132, 0.58), 0 0 30px rgba(254, 206, 132, 0.28), 0 20px 36px rgba(0, 0, 0, 0.34);
  --twl-classes-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath fill='%23f6e6cf' d='M9 11.2L.9 2.9A1 1 0 0 1 2.3 1.5L9 8.2l6.7-6.7a1 1 0 1 1 1.4 1.4z'/%3E%3C/svg%3E");
}

.twl-cr-loading-spinner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 10, 18, 0.54);
  backdrop-filter: blur(3px);
}

.twl-cr-loading-spinner__inner,
.spinner-container {
  min-height: 100%;
  display: grid;
  place-items: center;
}

body.page .registrationtable,
body.page .tableout,
body.page .tableborder,
body.page .my-account-content,
body.page .my-account-sidebar,
body.page .twl-cr-auth-card,
body.page .twl-cr-payments-card,
body.page .open-orders-container,
body.woocommerce-account .my-account-content,
body.woocommerce-account .my-account-sidebar {
  border-radius: 22px;
  box-shadow: var(--twl-classes-card-shadow);
}

body.page .registrationtable,
body.page .tableout,
body.page .tableborder {
  color: var(--twl-classes-ink);
}

body.page .registrationtable,
body.page .cart,
body.page .twl-cr-cart-table {
  border-collapse: separate;
  border-spacing: 0;
}

body.page .registrationtable {
  background: var(--twl-classes-glass-dark);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  overflow: hidden;
  width: min(45%, 52rem);
  margin-left: auto;
  margin-right: auto;
}

body.page .twl-cr-registrationtable--existing,
body.page .twl-cr-registrationtable--new {
  width: min(45%, 52rem);
}

body.page .twl-cr-auth-table--login.registrationtable {
  width: auto;
  min-width: min(100%, 28rem);
}

body.page .twl-cr-auth-table--login {
  padding: 10px !important;
  min-width: 0 !important;
  width: fit-content !important;
  margin: 0 auto;
  margin-top: 0 !important;
}

body.page .twl-cr-auth-table--login td {
  padding: 10px !important;
}

body.page .twl-cr-auth-table--login input {
  width: 160px !important;
  padding: 8px 10px !important;
}

body.page .tableout {
  background: linear-gradient(180deg, rgba(254, 206, 132, 0.98), rgba(248, 195, 109, 0.95));
  border: 1px solid rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

body.page .tableborder,
body.page .my-account-content,
body.page .my-account-sidebar,
body.woocommerce-account .my-account-content,
body.woocommerce-account .my-account-sidebar {
  background: linear-gradient(180deg, rgba(235, 239, 252, 0.98), rgba(221, 227, 246, 0.95));
  border: 1px solid rgba(120, 132, 176, 0.3);
  overflow: hidden;
}

body.page .tableouttab,
body.page .cartheader,
body.page .cartheaderL,
body.page .cartheaderR,
body.page .tableheader {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(42, 42, 42, 0.98));
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.95);
}

body.page .tablerow1,
body.page .tablerow1L,
body.page .tablerow1R,
body.page .cartrow1,
body.page .cartrow1L,
body.page .cartrow1R {
  background: rgba(235, 239, 252, 0.98);
}

body.page .tablerow2,
body.page .tablerow2L,
body.page .tablerow2R,
body.page .cartrow2,
body.page .cartrow2L,
body.page .cartrow2R {
  background: rgba(210, 213, 224, 0.98);
}

body.page .tableleftcells {
  background: rgba(207, 217, 250, 0.98);
}

body.page .cartfooterbottomL,
body.page .cartfooterbottomR,
body.page .cartdiscount,
body.page .cartfooterL,
body.page .cartfooterR {
  background: rgba(187, 187, 187, 0.97);
  color: var(--twl-classes-ink);
}

body.page .cancel-note,
body.page .success-message,
body.page .open-orders-list li,
body.woocommerce-account .open-orders-list li {
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

body.page .cancel-note {
  background: rgba(128, 128, 128, 0.96);
  color: #ffffff;
  border-left-color: #0073aa;
}

body.page .success-message {
  background: rgba(232, 245, 232, 0.96);
  color: #1f5130;
  border-color: rgba(49, 109, 67, 0.18);
}

body.page .open-orders-list li,
body.woocommerce-account .open-orders-list li {
  background: rgba(216, 216, 216, 0.98);
}

body.page .open-orders-list li a,
body.woocommerce-account .open-orders-list li a {
  color: #0073aa;
}

body.page button:not(.twl-button),
body.page input[type="submit"]:not(.twl-button),
body.page input[type="button"]:not(.twl-button),
body.page .button,
body.page .crbuttons a,
body.page .cartbuttons a,
body.page a.button,
body.woocommerce-account .button,
body.woocommerce-account a.button {
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(254, 206, 132, 0.68);
  border-radius: 999px;
  color: #ffffff;
  background-image: none;
  box-shadow: var(--twl-classes-gold-glow);
  text-decoration: none;
  padding-left: 14px;
  padding-right: 14px;
  outline: none;
  appearance: none;
}

body.page .twl-cr-action-button,
body.page .twl-cr-cart-apply,
body.page .twl-cr-checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.8rem 1.35rem;
  font-size: 1rem;
  font-weight: 600;
}

body.page button:not(.twl-button):hover,
body.page input[type="submit"]:not(.twl-button):hover,
body.page input[type="button"]:not(.twl-button):hover,
body.page .button:hover,
body.page .crbuttons a:hover,
body.page .cartbuttons a:hover,
body.page a.button:hover,
body.woocommerce-account .button:hover,
body.woocommerce-account a.button:hover {
  background: rgba(254, 206, 132, 0.18);
  border-color: rgba(254, 206, 132, 0.96);
  color: #ffffff;
  box-shadow: var(--twl-classes-gold-glow-strong);
}

body.page button:not(.twl-button):focus,
body.page input[type="submit"]:not(.twl-button):focus,
body.page input[type="button"]:not(.twl-button):focus,
body.page .button:focus,
body.page .crbuttons a:focus,
body.page .cartbuttons a:focus,
body.page a.button:focus,
body.woocommerce-account .button:focus,
body.woocommerce-account a.button:focus {
  outline: none;
  box-shadow: var(--twl-classes-gold-glow);
}

body.page button:not(.twl-button):focus-visible,
body.page input[type="submit"]:not(.twl-button):focus-visible,
body.page input[type="button"]:not(.twl-button):focus-visible,
body.page .button:focus-visible,
body.page .crbuttons a:focus-visible,
body.page .cartbuttons a:focus-visible,
body.page a.button:focus-visible,
body.woocommerce-account .button:focus-visible,
body.woocommerce-account a.button:focus-visible {
  outline: none;
  box-shadow: var(--twl-classes-gold-glow-strong);
}

body.page .twl-cr-action-button:visited,
body.page .twl-cr-action-button:hover,
body.page .twl-cr-action-button:focus,
body.page .twl-cr-action-button:focus-visible,
body.page .twl-cr-cart-apply,
body.page .twl-cr-cart-apply:hover,
body.page .twl-cr-checkout-button,
body.page .twl-cr-checkout-button:hover,
body.woocommerce-account .button,
body.woocommerce-account .button:hover,
body.woocommerce-account a.button,
body.woocommerce-account a.button:hover {
  color: #ffffff !important;
  background-image: none !important;
}

body.page input[type="text"],
body.page input[type="email"],
body.page input[type="password"],
body.page input[type="number"],
body.page textarea,
body.page select,
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="number"],
body.woocommerce-account textarea,
body.woocommerce-account select {
  background: rgba(25, 26, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: var(--twl-classes-field-shadow);
  color: #f7f2e8;
  min-height: 2.85rem;
  padding: 0.72rem 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

body.page select,
body.woocommerce-account select,
body.page .twl-cr-select {
  color: #ffffff;
  background-color: rgba(25, 26, 31, 0.94);
  background-image: var(--twl-classes-select-arrow), linear-gradient(180deg, rgba(78, 78, 82, 0.9), rgba(56, 56, 60, 0.88));
  background-position: calc(100% - 1.1rem) 50%, 0 0;
  background-size: 1rem 0.7rem, 100% 100%;
  background-repeat: no-repeat;
  border-color: rgba(255, 255, 255, 0.14);
  padding-right: 3rem;
  appearance: none;
  color-scheme: dark;
  box-shadow: inset 0 0 0 999px rgba(25, 26, 31, 0.94), var(--twl-classes-field-shadow);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
}

body.page select:active,
body.page .twl-cr-select:active,
body.page select:hover,
body.page .twl-cr-select:hover,
body.woocommerce-account select:active,
body.woocommerce-account select:hover {
  background-color: rgba(25, 26, 31, 0.96);
  box-shadow: inset 0 0 0 999px rgba(25, 26, 31, 0.96), var(--twl-classes-field-shadow);
}

body.page select option,
body.woocommerce-account select option,
body.page .twl-cr-select option {
  color: #f7f2e8;
  background: #222328;
}

body.page input[type="date"],
body.page .twl-cr-registrationtable input[type="date"] {
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
}

body.page input[type="date"]:hover,
body.page .twl-cr-registrationtable input[type="date"]:hover {
  background: rgba(25, 26, 31, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--twl-classes-field-shadow);
}

body.page input[type="date"]::-webkit-calendar-picker-indicator,
body.page .twl-cr-registrationtable input[type="date"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  cursor: pointer;
}

body.page input[type="text"]:focus,
body.page input[type="email"]:focus,
body.page input[type="password"]:focus,
body.page input[type="number"]:focus,
body.page textarea:focus,
body.page select:focus,
body.woocommerce-account input[type="text"]:focus,
body.woocommerce-account input[type="email"]:focus,
body.woocommerce-account input[type="password"]:focus,
body.woocommerce-account input[type="number"]:focus,
body.woocommerce-account textarea:focus,
body.woocommerce-account select:focus {
  background-color: rgba(25, 26, 31, 0.98);
  border-color: rgba(254, 206, 132, 0.72);
  box-shadow: inset 0 0 0 999px rgba(25, 26, 31, 0.98), 0 0 0 3px rgba(254, 206, 132, 0.16);
}

body.page .my-account-layout,
body.woocommerce-account .my-account-layout {
  align-items: flex-start;
  gap: 24px;
}

body.page .my-account-sidebar,
body.woocommerce-account .my-account-sidebar {
  background: linear-gradient(180deg, rgba(254, 206, 132, 0.96), rgba(246, 230, 207, 0.94));
}

body.page .my-account-content,
body.woocommerce-account .my-account-content {
  background: linear-gradient(180deg, rgba(235, 239, 252, 0.98), rgba(221, 227, 246, 0.95));
}

body.page .twl-cr-section-title {
  display: inline-block;
  margin: 0 auto 0.35rem;
  padding: 0;
  background: transparent;
  color: var(--twl-classes-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 2vw, 2.5rem);
  font-weight: 700;
  box-shadow: none;
}

body.page .twl-cr-section-heading-wrap,
body.page .twl-cr-registrationtable--existing {
  margin-bottom: 0;
}

body.page .twl-cr-section-heading-wrap {
  width: min(45%, 52rem);
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(254, 206, 132, 0.38);
}

body.page .twl-cr-section-heading-wrap--existing {
  margin-top: 1rem;
}

body.page .twl-cr-new-student-shell {
  width: min(100%, 42rem);
  margin-top: 20px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

body.page .twl-cr-new-student-shell .twl-cr-section-title {
  margin-bottom: 0;
}

body.page .twl-cr-registrationtable td {
  padding: 1.15rem 1.4rem;
  vertical-align: top;
}

body.page .twl-cr-registrationtable--existing tbody tr + tr td {
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

body.page .twl-cr-student-name {
  width: 42%;
  font-size: clamp(0.98rem, 1.35vw, 1.35rem);
  line-height: 1.35;
}

body.page .twl-cr-student-selects {
  width: 58%;
}

body.page .twl-cr-registrationtable .form-group + .form-group {
  margin-top: 0.9rem;
}

body.page .twl-cr-registrationtable .form-group label {
  display: block;
  margin-bottom: 0.45rem;
}

body.page .twl-cr-registrationtable--new td:first-child {
  width: 30%;
  font-weight: 600;
}

body.page .twl-cr-registrationtable--new td {
  padding: 0.9rem 1.2rem;
  box-sizing: border-box;
  overflow: visible;
}

body.page .twl-cr-registrationtable--new {
  width: min(100%, 42rem);
  display: table;
  max-width: 100%;
  table-layout: fixed;
  background: linear-gradient(180deg, rgba(92, 92, 98, 0.68), rgba(56, 56, 60, 0.6));
}

body.page .twl-cr-text-field,
body.page .twl-cr-event-select,
body.page .twl-cr-registrationtable input[type="text"],
body.page .twl-cr-registrationtable input[type="date"],
body.page .twl-cr-registrationtable input[type="password"],
body.page .twl-cr-registrationtable select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  border-radius: 22px;
}

body.page .twl-cr-event-selector {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

body.page .twl-cr-event-title {
  margin: 0;
  color: var(--twl-classes-gold);
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

body.page .twl-cr-event-select,
body.page .twl-cr-event-submit {
  width: min(100%, 21rem);
}

body.page .twl-cr-cart-table {
  width: 100% !important;
  display: inline-table !important;
  table-layout: fixed;
  background: linear-gradient(180deg, rgba(24, 26, 35, 0.82), rgba(15, 16, 20, 0.76));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

body.page .twl-cr-cart-shell {
  width: min(100%, 68rem);
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.04));
  box-shadow: var(--twl-classes-card-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

body.page .twl-cr-cart-table-break {
  display: block;
  height: 1rem;
}

body.page .twl-cr-cart-shell--payments {
  width: min(100%, 68rem);
}

body.page .cr-cart-tools {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin: 0 auto 1.4rem;
  width: 100%;
}

body.page .cr-cart-tools .cr-tool {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 14rem;
}

body.page .cr-cart-tools .cr-tool-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body.page .twl-cr-payments-card .cr-cart-tools {
  justify-content: flex-end;
  align-items: center;
}

body.page .twl-cr-payments-card .cr-cart-tools .cr-tool {
  min-width: 0;
}

body.page .twl-cr-payments-card .cr-cart-tools .cr-tool-row {
  align-items: center;
  justify-content: flex-end;
}

body.page .cr-cart-tools .twl-cr-cart-text {
  width: 100%;
  min-height: 2.85rem;
  max-width: 12rem;
}

body.page .remove-class-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(219, 152, 79, 0.75);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(219, 152, 79, 1);
  cursor: pointer;
  box-shadow: none;
  padding: 0;
}

body.page .remove-class-btn:hover,
body.page .remove-class-btn:focus {
  background: rgba(102, 122, 185, 0.95);
  color: #fff36a;
}

body.page .cartheader,
body.page .cartheaderL,
body.page .cartheaderR {
  background: linear-gradient(180deg, rgba(20, 24, 35, 0.96), rgba(10, 13, 22, 0.98));
}

body.page .cartrow1,
body.page .cartrow1L,
body.page .cartrow1R,
body.page .cartrow2,
body.page .cartrow2L,
body.page .cartrow2R {
  color: #f4f0e6;
}

body.page .cartrow1,
body.page .cartrow1L,
body.page .cartrow1R {
  background: rgba(30, 38, 59, 0.18);
}

body.page .cartrow2,
body.page .cartrow2L,
body.page .cartrow2R {
  background: rgba(255, 255, 255, 0.08);
}

body.page .cartfooterbottomR,
body.page .cartfooterbottomL,
body.page .cartdiscount,
body.page .cartfooterL,
body.page .cartfooterR {
  background: rgba(221, 225, 240, 0.9);
}

body.page .cart ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

body.page .cart td {
  padding: 1rem 1.15rem;
}

body.page .twl-cr-cart-student-line {
  padding-left: 3rem;
}

body.page .twl-cr-cart-shirt-line {
  padding-left: 5rem;
  color: rgba(247, 242, 232, 0.9);
}

body.page .twl-cr-auth-card,
body.page .twl-cr-payments-card,
body.page .open-orders-container {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.04));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

body.page .twl-cr-auth-shell,
body.page .twl-cr-payments-shell {
  width: min(100%, 68rem);
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
}

body.page .class-login-form.twl-cr-auth-shell {
  margin-top: clamp(2rem, 4vw, 3rem);
}

body.page .class-login-form {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page .twl-cr-auth-card {
  width: fit-content;
  max-width: min(100%, 38rem);
  margin: 0 auto;
  padding: 2.25rem;
}

body.page .twl-cr-auth-header,
body.page .twl-cr-payments-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

body.page .twl-cr-auth-title,
body.page .twl-cr-payments-title {
  margin: 0;
  color: var(--twl-classes-gold);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page .twl-cr-auth-copy {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
}

body.page .twl-cr-auth-form-shell {
  padding: 1.15rem;
}

body.page .twl-cr-auth-table {
  width: auto;
  max-width: none;
  margin: 0 auto;
}

body.page .twl-cr-auth-table--login td:first-child {
  width: auto;
  white-space: nowrap;
  padding-right: 1.25rem;
  font-weight: 600;
}

body.page .twl-cr-auth-table td {
  padding: 0.7rem 1rem;
  vertical-align: middle;
}

body.page .twl-cr-auth-shell--create-account .twl-cr-auth-card {
  max-width: min(100%, 58rem);
}

body.page .twl-cr-auth-table--create-account,
body.page .twl-cr-auth-table--reset-account {
  width: min(100%, 42rem);
}

body.page .twl-cr-auth-table--create-account td:first-child,
body.page .twl-cr-auth-table--reset-account td:first-child {
  width: 36%;
  white-space: nowrap;
  font-weight: 600;
}

body.page .twl-cr-auth-actions {
  display: flex;
  justify-content: flex-end;
}

body.page .twl-cr-auth-links {
  margin-top: 1.15rem;
  text-align: center;
}

body.page .twl-cr-auth-links a {
  color: var(--twl-classes-gold-soft);
}

body.page .twl-cr-payments-header {
  margin-top: 2rem;
}

body.page .twl-cr-payments-card {
  width: 100%;
  margin: 0 auto 2rem;
  padding: 0;
}

body.page .twl-cr-payments-card--detail {
  border-spacing: 0;
  overflow: hidden;
}

body.page .twl-cr-payments-note {
  width: 100%;
  min-height: 7rem;
  padding: 1rem 1.15rem;
  resize: vertical;
}

body.page .twl-cr-invoice-meta {
  display: grid;
  gap: 0;
}

body.page .twl-cr-payments-layout {
  display: grid;
  gap: 1.15rem;
}

body.page .twl-cr-payments-meta-card {
  width: min(100%, 24rem);
  margin-left: auto;
  margin-bottom: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.04));
  box-shadow: var(--twl-classes-card-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

body.page .twl-cr-payments-meta-card__title {
  padding: 0.95rem 1.2rem;
  background: linear-gradient(180deg, rgba(20, 24, 35, 0.96), rgba(10, 13, 22, 0.98));
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page .twl-cr-invoice-meta-item {
  display: grid;
  grid-template-columns: minmax(8.5rem, 10rem) minmax(0, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.page .twl-cr-invoice-meta-item:last-child {
  border-bottom: 0;
}

body.page .twl-cr-invoice-label,
body.page .twl-cr-invoice-value {
  padding: 0.72rem 0.95rem;
  font-size: 0.94rem;
  line-height: 1.35;
}

body.page .twl-cr-invoice-label {
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

body.page .twl-cr-invoice-value {
  color: rgba(247, 242, 232, 0.96);
  overflow-wrap: anywhere;
}

body.page .twl-cr-cart-table--payments {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}

body.page .twl-cr-payments-class-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page .twl-cr-payments-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.2rem 1.6rem;
}

body.page .twl-cr-payments-actions form {
  margin: 0;
}

body.page .twl-cr-payments-cancel {
  padding: 0 1.2rem 1.6rem;
}

body.page .twl-cr-payments-cancel .twl-cr-action-button {
  margin-top: 0.85rem;
}

body.page .open-orders-container {
  padding: 1.75rem;
}

body.page .twl-cr-waitlist-shell {
  width: min(50%, 40rem);
  min-width: min(100%, 22rem);
  margin: 0 auto;
}

body.page .twl-cr-waitlist-card {
  padding: 1.75rem 2rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.04));
  box-shadow: var(--twl-classes-card-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.page .twl-cr-waitlist-title {
  margin: 0 0 0.65rem;
  color: var(--twl-classes-gold);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.page .twl-cr-waitlist-copy {
  margin-bottom: 1.15rem;
}

body.page .twl-cr-waitlist-form {
  display: grid;
  gap: 0.8rem;
}

body.page .twl-cr-waitlist-form button {
  justify-self: start;
}

body.page .wcs-class__action .twl-button,
body.page .wcs-class__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
}

body.page .rc-anchor.rc-anchor-invisible {
  background: #222 !important;
  background-color: #222 !important;
  color: #fff !important;
  border-color: #444 !important;
}

body.page .rc-anchor-invisible-text {
  background-color: rgba(30, 30, 30, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ccc !important;
}

body.page .rc-anchor-invisible-text span {
  color: #ffffff !important;
}

@media (max-width: 800px) {
  body.page .my-account-layout,
  body.woocommerce-account .my-account-layout {
    flex-direction: column;
  }

  body.page .my-account-sidebar,
  body.page .my-account-content,
  body.woocommerce-account .my-account-sidebar,
  body.woocommerce-account .my-account-content {
    width: 100%;
  }

  body.page .registrationtable {
    width: min(100%, 34rem);
  }

  body.page .twl-cr-section-heading-wrap,
  body.page .twl-cr-new-student-shell {
    width: min(100%, 34rem);
  }

  body.page .twl-cr-registrationtable--new td:first-child,
  body.page .twl-cr-registrationtable--new td {
    display: block;
    width: 100%;
  }

  body.page #addNewStudentButton {
    width: 100%;
  }

  body.page .twl-cr-student-name,
  body.page .twl-cr-student-selects {
    display: block;
    width: 100%;
  }

  body.page .twl-cr-registrationtable tr,
  body.page .twl-cr-registrationtable td {
    display: block;
  }

  body.page .cr-cart-tools {
    align-items: stretch;
  }

  body.page .cr-cart-tools .cr-tool,
  body.page .cr-cart-tools .twl-cr-cart-text {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  body.page .cr-cart-tools .cr-tool-row {
    flex-wrap: wrap;
  }

  body.page .twl-cr-auth-card,
  body.page .twl-cr-payments-card {
    padding: 1rem;
  }

  body.page .twl-cr-payments-card {
    padding: 0;
  }

  body.page .twl-cr-invoice-meta-item {
    grid-template-columns: 1fr;
  }

  body.page .twl-cr-payments-actions {
    flex-direction: column;
  }
}
