:root {
  --tt-font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* Spacing scale (4px base, matches Tailwind defaults used by the Figma source) */
  /* CCD-1284 (later session): ROOT-CAUSE FIX -- these 11 tokens (space-1..6, radius-sm/md/button/card, text-sm..2xl below) were authored as rem values, which silently. */
  --tt-space-1: 4px;
  --tt-space-2: 6px;
  --tt-space-3: 8px;
  --tt-space-4: 12px;
  --tt-space-5: 16px;
  --tt-space-6: 24px;
  /* Radius scale (base --radius: 0.625rem from the Figma source's shadcn theme) */
  --tt-radius-sm: 6px;
  --tt-radius-md: 8px;
  --tt-radius-button: 4px; /* Sidebar.tsx's --radius-button, used on all inputs/buttons */
  --tt-radius-card: 10px;
  --tt-radius-pill: 999px;   /* fully rounded badges/pills */
  --tt-shadow-card: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
  /* Typography scale referenced by the Figma source's `var(--text-sm)` / `var(--text-base)` etc. */
  --tt-text-sm: 12px;   /* was 0.875rem/14px, a wrong assumed default before this token's own live-Figma fix */
  --tt-text-base: 16px;
  --tt-text-lg: 18px;
  --tt-text-xl: 20px;
  --tt-text-2xl: 24px;
  --tt-font-weight-normal: 400;
  --tt-font-weight-medium: 500;
  --tt-font-weight-semibold: 600;
  --tt-font-weight-bold: 700;
  --tt-line-height: 1.5;
  /* Neutral surface/text colors — from theme.css's bare `:root` (the LIGHT default): --background/--card: #ffffff; --border: rgba(0,0,0,0.1); --muted: #ececf0. */
  --tt-card-bg: #ffffff;
  --tt-card-border: rgba(0, 0, 0, 0.18);
  --tt-text-body: #48484a;
  --tt-card-foreground: #3c3c3e;
  --tt-text-muted: #717182;
  --tt-surface-muted: #ececf0;
  --tt-hover-bg: #e9f6eb;
  --tt-hover-bg-brand: color-mix(in srgb, var(--s, #1f6f4a) 10%, white);
  /* Brand accent — routes through the app's own course-brand vars, never the Figma source's per-clubhouse palette. */
  --tt-accent: var(--p, #030213);
  --tt-accent-ink: #ffffff;
  /* CCD-1284: booking-flow error/status message colors (Hold Error, Split Payment Error, hold countdown), tokenized. */
  --tt-danger: #d4183d;
  --tt-danger-critical: #d4183d;
  --tt-danger-warning: #c74600;
}
/* CCD-1284: light mode only -- dark-mode token overrides disabled (commented out). */
/* CCD-1284: force light rendering so Chrome / device dark mode (incl. */
:root { color-scheme: light only; }
*,
*::before,
*::after {
  box-sizing: border-box;
}
@font-face {
  font-family: 'FontAwesome';
  src: url('../../plugins/font-awesome/fonts/fontawesome-webfont.eot?v=4.6.3');
  src: url('../../plugins/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'),
       url('../../plugins/font-awesome/fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'),
       url('../../plugins/font-awesome/fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'),
       url('../../plugins/font-awesome/fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'),
       url('../../plugins/font-awesome/fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-calendar:before { content: "\f073"; }
.fa-user:before { content: "\f007"; }
.fa-lock:before { content: "\f023"; }
.fa-envelope:before { content: "\f0e0"; }
/* CCD-1284 (later session): the Sign Up modal's Mobile Number icon (login.php: <i class="fa fa-phone-square">) had no glyph mapping in this hand-built subset (this page. */
.fa-phone-square:before { content: "\f098"; }
.fa-th:before { content: "\f00a"; }
.fa-th-list:before { content: "\f00b"; }
.fa-spinner:before { content: "\f110"; }
.fa-info-circle:before { content: "\f05a"; }
.fa-facebook:before { content: "\f09a"; }
.fa-google-plus:before { content: "\f0d5"; }
.fa-clock-o:before { content: "\f017"; }
.fa-map-marker:before { content: "\f041"; }
.fa-location-arrow:before { content: "\f124"; }
.fa-usd:before { content: "\f155"; }
.fa-sign-in:before { content: "\f090"; }
.fa-sign-out:before { content: "\f08b"; }
.fa-moon-o:before { content: "\f186"; }
.fa-sun-o:before { content: "\f185"; }
.fa-search:before { content: "\f002"; }
.fa-shield:before { content: "\f132"; }
.fa-times:before { content: "\f00d"; }
.fa-flag:before { content: "\f024"; }
.fa-spin {
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}
@-webkit-keyframes fa-spin {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); }
}
@keyframes fa-spin {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); }
}
/* noUiSlider 8.5.1, reproduced verbatim from the plugin's own CSS file */
.noUi-target,.noUi-target * {-webkit-touch-callout:none;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}
.noUi-target {position:relative;direction:ltr}
.noUi-base {width:100%;height:100%;position:relative;z-index:1}
.noUi-origin {position:absolute;right:0;top:0;left:0;bottom:0}
.noUi-handle {position:relative;z-index:1}
.noUi-stacking .noUi-handle {z-index:10}
.noUi-state-tap .noUi-origin {-webkit-transition:left .3s,top .3s;transition:left .3s,top .3s}
.noUi-state-drag * {cursor:inherit!important}
.noUi-base,.noUi-handle {-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}
.noUi-horizontal {height:18px}
.noUi-horizontal .noUi-handle {width:34px;height:28px;left:-17px;top:-6px}
.noUi-vertical {width:18px}
.noUi-vertical .noUi-handle {width:28px;height:34px;left:-6px;top:-17px}
.noUi-background {background:#FAFAFA;box-shadow:inset 0 1px 1px #f0f0f0}
.noUi-origin {border-radius:2px}
.noUi-target {border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}
.noUi-target.noUi-connect {box-shadow:inset 0 0 3px rgba(51,51,51,.45),0 3px 6px -5px #BBB}
.noUi-draggable {cursor:w-resize}
.noUi-vertical .noUi-draggable {cursor:n-resize}
.noUi-handle {border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}
.noUi-active {box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}
.noUi-handle:after,.noUi-handle:before {content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}
.noUi-handle:after {left:17px}
.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before {width:14px;height:1px;left:6px;top:14px}
.noUi-vertical .noUi-handle:after {top:17px}
[disabled] .noUi-connect,[disabled].noUi-connect {background:#B8B8B8}
[disabled] .noUi-handle,[disabled].noUi-origin {cursor:not-allowed}
.noUi-pips,.noUi-pips * {-moz-box-sizing:border-box;box-sizing:border-box}
.noUi-pips {position:absolute;color:#999}
.noUi-value {position:absolute;text-align:center}
.noUi-value-sub {color:#ccc;font-size:10px}
.noUi-marker {position:absolute;background:#CCC}
.noUi-marker-large,.noUi-marker-sub {background:#AAA}
.noUi-pips-horizontal {padding:10px 0;height:80px;top:100%;left:0;width:100%}
.noUi-value-horizontal {-webkit-transform:translate3d(-50%,50%,0);transform:translate3d(-50%,50%,0)}
.noUi-marker-horizontal.noUi-marker {margin-left:-1px;width:2px;height:5px}
.noUi-marker-horizontal.noUi-marker-sub {height:10px}
.noUi-marker-horizontal.noUi-marker-large {height:15px}
.noUi-pips-vertical {padding:0 10px;height:100%;top:0;left:100%}
.noUi-value-vertical {-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0);padding-left:25px}
.noUi-marker-vertical.noUi-marker {width:5px;height:2px;margin-top:-1px}
.noUi-marker-vertical.noUi-marker-sub {width:10px}
.noUi-marker-vertical.noUi-marker-large {width:15px}
.noUi-tooltip {display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;padding:5px;text-align:center}
.noUi-horizontal .noUi-handle-lower .noUi-tooltip {top:-32px}
.noUi-horizontal .noUi-handle-upper .noUi-tooltip {bottom:-32px}
.noUi-vertical .noUi-handle-lower .noUi-tooltip {left:120%}
.noUi-vertical .noUi-handle-upper .noUi-tooltip {right:120%}
/* Accent-color + shape overrides for the Time/Price sliders live further down, scoped to .tt-search-sidebar only (see "Range sliders" section) — not duplicated here. */
/* bootstrap-material-datetimepicker, reproduced verbatim from the plugin's own CSS file */
.dtp { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); z-index: 2000; font-size: 14px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.dtp > .dtp-content { background: #fff; max-width: 300px; box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); max-height: 520px; position: relative; left: 50%; }
.dtp > .dtp-content > .dtp-date-view > header.dtp-header { background: #689F38; color: #fff; text-align: center; padding: 0.3em; }
.dtp div.dtp-date, .dtp div.dtp-time { background: #8BC34A; text-align: center; color: #fff; padding: 10px; }
.dtp div.dtp-date > div { padding: 0; margin: 0; }
.dtp div.dtp-actual-month { font-size: 1.5em; }
.dtp div.dtp-actual-num { font-size: 3em; line-height: 0.9; }
.dtp div.dtp-actual-maxtime { font-size: 3em; line-height: 0.9; }
.dtp div.dtp-actual-year { font-size: 1.5em; color: #DCEDC8; }
.dtp div.dtp-picker { padding: 1em; text-align: center; }
.dtp div.dtp-picker-month, .dtp div.dtp-actual-time { font-weight: 500; text-align: center; }
.dtp div.dtp-picker-month { padding-bottom:20px!important; text-transform: uppercase!important; }
.dtp .dtp-close { position: absolute; top: 0.5em; right: 1em; }
.dtp .dtp-close > a { color: #fff; }
.dtp .dtp-close > a > i { font-size: 1em; }
.dtp table.dtp-picker-days { margin: 0; min-height: 251px;}
.dtp table.dtp-picker-days, .dtp table.dtp-picker-days tr, .dtp table.dtp-picker-days tr > td { border: none; }
.dtp table.dtp-picker-days tr > td { font-weight: 700; font-size: 0.8em; text-align: center; padding: 0.5em 0.3em; }
.dtp table.dtp-picker-days tr > td > span.dtp-select-day { color: #767676!important; padding: 0.4em 0.5em 0.5em 0.6em;}
.dtp table.dtp-picker-days tr > td > a, .dtp table.dtp-picker-days tr > td > button, .dtp .dtp-picker-time > a { color: #212121; text-decoration: none; padding: 0.4em 0.5em 0.5em 0.6em; border-radius: 50%!important; }
.dtp table.dtp-picker-days tr > td > button { -webkit-appearance: none; appearance: none; background: transparent; border: none; cursor: pointer; font-size: inherit; font-weight: inherit; font-family: inherit; display: inline-block; box-sizing: content-box; height: 1em; line-height: 1em; vertical-align: baseline; margin: -0.4em 0 -0.5em 0; }
.dtp table.dtp-picker-days tr > td > a.selected, .dtp table.dtp-picker-days tr > td > button.selected { background: #4a7c00; color: #fff; }
.dtp table.dtp-picker-days tr > th { color: #757575; text-align: center; font-weight: 700; padding: 0.4em 0.3em; }
.dtp .p10 > a, .dtp .p10 > button { color: #fff; text-decoration: none; background: transparent; border: none; cursor: pointer; padding: 0; }
.dtp .p10 { width: 10%; display: inline-block; }
.dtp .p20 { width: 20%; display: inline-block; }
.dtp .p60 { width: 60%; display: inline-block; }
.dtp .p80 { width: 80%; display: inline-block; }
.dtp a.dtp-meridien-am, .dtp a.dtp-meridien-pm { position: relative; top: 10px; color: #212121; font-weight: 500; padding: 0.7em 0.5em; border-radius: 50%!important;text-decoration: none; background: #eee; font-size:1em; }
.dtp .dtp-actual-meridien a.selected { background: #689F38; color: #fff; }
.dtp .dtp-picker-time > .dtp-select-hour { cursor: pointer; }
.dtp .dtp-picker-time > .dtp-select-minute { cursor: pointer; }
.dtp .dtp-buttons { padding: 0 1em 1em 1em; text-align: right; }
.dtp.hidden, .dtp .hidden { display: none; }
.dtp .invisible { visibility: hidden; }
.dtp .left { float: left; }
.dtp .right { float: right; }
.dtp .clearfix { clear: both; }
.dtp .center { text-align: center; }
.dtp-picker-year{ margin-bottom: 1px; }
.year-picker-item{ text-align: center; padding-top: 5px; font-size: large; cursor: pointer; margin: 0 auto; }
.dtp-actual-year:hover{ cursor: pointer; }
.dtp-actual-year.disabled:hover{ cursor: inherit; }
.year-picker-item:hover{ color:#689F38; }
.year-picker-item.active{ color:#689F38; font-weight: bold; }
.dtp-select-year-range{ display: inline-block; text-align: center; width: 100%; }
/* Bootstrap: modal system (needed for the LIVE #holdErrorModal in slots_view.php) + baseline .btn/.form-control/.container-fluid/.row/ utility mechanics actually used on. */
.fade {opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}
.fade.in {opacity:1}
.modal-open {overflow:hidden}
.modal {position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0;overflow-x:hidden;overflow-y:auto}
.modal-dialog {position:relative;width:auto;margin:10px;-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}
.modal.fade .modal-dialog {-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}
.modal.in .modal-dialog {-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}
.modal-content {position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}
.modal-backdrop {position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}
.modal-backdrop.fade {opacity:0}
.modal-backdrop.in {opacity:.5}
.modal-header {padding:15px;border-bottom:1px solid #e5e5e5}
.modal-body {position:relative;padding:15px}
.modal-footer {padding:15px;text-align:right;border-top:1px solid #e5e5e5}
.close {position:relative;top:-2px;right:-21px;float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}
.close:hover,.close:focus {opacity:.5}
@media (max-width: 699px) {
  /* Players & Rates — Mobile (<700px) Keep each field on its own row */
  /* CCD-1284 (later session): explicit follow-up -- "rate and information icon same row, 70% occupy rate and 30% icon... */
  /* CCD-1284 (later session): explicit follow-up -- "selected rate box and icon should occupy width according to note width, vertically and horizontally alignment". */
  /* CCD-1284 (later session): explicit follow-up -- "default 6 player row appear when click player count, count wise rows not appear on mobile view, however desktop view. */
  body:has(.tt-booking-sidebar) #BookingForm .playerRow:not(.row-hidden) {
    display: grid !important;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: 100% !important;
    gap: var(--tt-space-4) !important;
  }
  body:has(.tt-booking-sidebar) #BookingForm .playerRow.avl-description {
    grid-template-columns: 1fr 37px !important;
  }
  /* Player name / Player 1 -- own full-width row */
  body:has(.tt-booking-sidebar) #BookingForm .playerRow > div:nth-child(1) {
    grid-row: 1;
    grid-column: 1 / -1;
  }
  /* Notes -- own full-width row */
  body:has(.tt-booking-sidebar) #BookingForm .playerRow > div:nth-child(2) {
    grid-row: 2;
    grid-column: 1 / -1;
  }
  /* Rate -- fills remaining width, shares its row with the info-button */
  /* CCD-1284 (later session): explicit follow-up -- "when loaded and no rate selected then show extra empty row space that is incorrect". */
  body:has(.tt-booking-sidebar) #BookingForm .playerRow > div:nth-child(3) {
    grid-row: 3;
    grid-column: 1;
    min-width: 0;
  }
  #BookingForm .playerRow .rate,
  #BookingForm .playerRow select,
  #BookingForm .playerRow input,
  #BookingForm .playerRow .form-control,
  #BookingForm .playerRow .player-select,
  #BookingForm .playerRow .hole-select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  /* Information icon -- fixed 33px column, only when this row's icon is actually meant to show (.avl-description); otherwise falls back to the single 1fr column above (rate. */
  /* CCD-1284 (later session): explicit follow-up -- "after implementation i can't select rate". */
  body:has(.tt-booking-sidebar) #BookingForm .playerRow > div:nth-child(4) {
    grid-row: 3;
    grid-column: 1;
    min-width: 0;
    pointer-events: none;
  }
  body:has(.tt-booking-sidebar) #BookingForm .playerRow.avl-description > div:nth-child(4) {
    grid-column: 2;
  }
  /* CCD-1284 (later session): display intentionally NOT set here (it was display:flex !important before, which forced the icon visible on every row from page load regardless. */
  body:has(.tt-booking-sidebar) #BookingForm .playerRow .info-button,
  body:has(.tt-booking-sidebar) #BookingForm .playerRow .tt-playerrow-info-btn {
    /* was 33px x 100% -- see the square-icon note at #BookingForm .info-button */
    width: 37px !important;
    height: 37px !important;
    margin: 0 !important; /* a stray 1px top margin from legacy CSS pushed the icon 1px below the rate box */
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
  }
  /* Keep the actual icon itself at its existing size */
  #BookingForm .playerRow .tt-playerrow-info-btn svg {
    flex: 0 0 auto !important;
  }
  /* Prevent columns/cells from forcing horizontal overflow */
  #BookingForm .playerRow > *,
  #BookingForm .playerRow .row > *,
  #BookingForm .playerRow [class*="col-"] {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  /* Mobile text/input sizing */
  #BookingForm .playerRow input,
  #BookingForm .playerRow select,
  #BookingForm .playerRow textarea {
    box-sizing: border-box !important;
  }
  /* Notes textarea, if present */
  #BookingForm .playerRow textarea {
    width: 100% !important;
    max-width: 100% !important;
    resize: vertical;
  }
}
@media (min-width:768px) {
  .modal-dialog {width:600px;margin:30px auto}
  .modal-content {-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}
  .col-sm-6 {float:left;width:50%}
  .col-sm-offset-3 {margin-left:25%}
}
.btn {display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  box-shadow: none;
  opacity: .65;
}
.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}
.btn-block {display:block;width:100%}
.btn-group {position:relative;display:inline-block;vertical-align:middle}
.btn-group-justified {display:table;width:100%;table-layout:fixed;border-collapse:separate}
.btn-group-justified > .btn {display:table-cell;float:none;width:100%}
.form-control {display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}
.form-group {margin-bottom:15px}
.input-group {position:relative;display:table;border-collapse:separate}
.input-group .form-control {position:relative;z-index:2;float:left;width:100%;margin-bottom:0}
.input-group-addon {display:table-cell;width:1px;white-space:nowrap;vertical-align:middle;padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}
.input-group-addon:first-child {border-right:0}
.input-group .form-control:first-child,.input-group-addon:first-child {border-top-right-radius:0;border-bottom-right-radius:0}
.container-fluid {padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}
.row {margin-right:-15px;margin-left:-15px}
hr {margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}
p {margin:0 0 10px}
body {margin:0}
button, input, select, textarea, optgroup {
  font-family: inherit;
}
a {color:#337ab7;text-decoration:none}
a:focus,a:hover {color:#23527c;text-decoration:underline}
.col-xs-6 {position:relative;min-height:1px;padding-left:15px;padding-right:15px;float:left;width:50%}
.h4 {font-family:inherit;font-weight:500;line-height:1.1;color:inherit;margin-top:10px;margin-bottom:10px;font-size:18px}
.clearfix:before,.clearfix:after {content:" ";display:table}
.clearfix:after {clear:both}
.pull-left {float:left}
.pull-right {float:right}
.text-center {text-align:center}
.text-left {text-align:left}
.text-right {text-align:right}
/* CCD-1284: #errorMessage (Split Payment Error) and #teeTimeHoldMessage (Hold Error / countdown) are the only two elements using this class project-wide (confirmed via. */
.text-danger {
  color: var(--tt-danger) !important;
  font-family: var(--tt-font-family);
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-normal);
  line-height: var(--tt-line-height);
}
.hide {display: none !important;}
.table {width: 100%;}
.col-sm-12,
.col-md-12,
.col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}
/* Existing (non-Figma) auth modal skin — Register / Forgot-Password / Login ONLY (#registerModal / #forgotModal / #loginModal). */
/* style.css:4249-4270 — sharper corners, deeper shadow, a much bigger close glyph (35px vs stock's 21px), and indented/gray body text, instead of stock Bootstrap's 6px. */
#registerModal .modal-content,
#forgotModal .modal-content,
#loginModal .modal-content {
  border-radius: 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.31);
  border: none;
}
#registerModal .modal-header,
#forgotModal .modal-header,
#loginModal .modal-header {
  border: none;
  padding: 15px 15px 5px 15px;
}
#registerModal .modal-header .modal-title,
#forgotModal .modal-header .modal-title,
#loginModal .modal-header .modal-title {
  font-weight: bold;
  font-size: 16px;
}
#registerModal .modal-header .close,
#forgotModal .modal-header .close,
#loginModal .modal-header .close {
  font-size: 35px;
  top: 0;
  right: 0;
}
/* CCD-1284 (later session): "cross/close icon cut off from left bottom side... */
#registerModal .modal-header::after,
#forgotModal .modal-header::after,
#loginModal .modal-header::after {
  content: "";
  display: table;
  clear: both;
}
#registerModal .modal-body,
#forgotModal .modal-body,
#loginModal .modal-body {
  color: #777;
  padding: 15px 25px;
}
#registerModal .modal-footer,
#forgotModal .modal-footer,
#loginModal .modal-footer {
  border: none;
}
#loginModal .modal-body hr {
  margin-top: 35px;
}
/* style.css:2499-2513 — the app's actual button skin (soft two-layer shadow, 2px radius, no border, 13px text) for SIGN IN / Sign me up! */
#registerModal .btn:not(.btn-link):not(.btn-circle),
#forgotModal .btn:not(.btn-link):not(.btn-circle),
#loginModal .btn:not(.btn-link):not(.btn-circle) {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  border: none;
  font-size: 13px;
  outline: none;
}
/* style.css:4965-5051 + 5060-5131 — the Material "floating underline" input treatment (no box/border on the field itself, icon sits flush with no background, a thin gray. */
#registerModal .form-group,
#forgotModal .form-group,
#loginModal .form-group {
  width: 100%;
  margin-bottom: 50px;
}
#registerModal .input-group,
#forgotModal .input-group,
#loginModal .input-group {
  width: 100%;
  margin-bottom: 20px;
}
#registerModal .form-group .form-line,
#forgotModal .form-group .form-line,
#loginModal .form-group .form-line {
  width: 100%;
  position: relative;
  border-bottom: 1px solid #ddd;
}
#registerModal .form-group .form-line:after,
#forgotModal .form-group .form-line:after,
#loginModal .form-group .form-line:after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 0;
  bottom: -1px;
  transform: scaleX(0);
  transition: 0.25s ease-in;
  border-bottom: 2px solid #1f91f3;
}
#registerModal .form-group .form-line.focused:after,
#forgotModal .form-group .form-line.focused:after,
#loginModal .form-group .form-line.focused:after {
  transform: scaleX(1);
}
#registerModal .form-group .form-line.error:after,
#forgotModal .form-group .form-line.error:after,
#loginModal .form-group .form-line.error:after {
  border-bottom: 2px solid #F44336;
}
#registerModal .form-group .form-line.success:after,
#forgotModal .form-group .form-line.success:after,
#loginModal .form-group .form-line.success:after {
  border-bottom: 2px solid #4CAF50;
}
#registerModal .input-group .input-group-addon,
#forgotModal .input-group .input-group-addon,
#loginModal .input-group .input-group-addon {
  border: none;
  background-color: transparent;
  padding-left: 0;
  font-weight: bold;
}
#registerModal .input-group input[type="text"],
#registerModal .input-group .form-control,
#forgotModal .input-group input[type="text"],
#forgotModal .input-group .form-control,
#loginModal .input-group input[type="text"],
#loginModal .input-group .form-control {
  border: none;
  box-shadow: none;
  padding-left: 0;
}
/* CCD-1284 (later session): "login register forgot popup when focus on input black border appear" -- root-caused, no existing/original file touched (fix is additive CSS. */
/* CCD-1284 (Phase 3, WCAG 2.4.7 Focus Visible): this rule used to be `box-shadow: none; outline: none`, on the reasoning stated in the comment above -- that the material. */
#registerModal .input-group .form-control:focus,
#forgotModal .input-group .form-control:focus,
#loginModal .input-group .form-control:focus {
  /* !important on the ring is required, not defensive: assets/css/style.css carries `.input-group .form-control:focus { box-shadow: none !important }` and an !important. */
  /* CCD-1284 (later session): "when enter/focus on login, register, forgot popup input fields a border appears, it is incorrect; preserve original/existing functionality; we. */
  box-shadow: none !important;
  outline: none;
  /* border-color: var(--s, #1f6f4a) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--s, #1f6f4a) 35%, transparent) !important; */
}
#registerModal .form-group label.error,
#registerModal .form-group span.error,
#forgotModal .form-group label.error,
#forgotModal .form-group span.error,
#loginModal .form-group label.error,
#loginModal .form-group span.error {
  font-size: 12px;
  display: block;
  margin-top: 5px;
  font-weight: normal;
  color: #D32F2F;
}
/* style.css's body{font-family:'Roboto',Arial,Tahoma,sans-serif} (line 2378) never reaches these modals — they sit outside #main-content, the only element this file. */
#registerModal,
#forgotModal,
#loginModal {
  font-family: 'Roboto', Arial, Tahoma, sans-serif;
}
/* bootstrap.min.css's own .alert base (padding/margin/radius) isn't loaded here either; style.css only overrides color/shape on top of it (line 3381), so both layers are. */
#registerModal .alert,
#forgotModal .alert,
#loginModal .alert {
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
}
#registerModal .alert-success,
#forgotModal .alert-success,
#loginModal .alert-success {
  background-color: #1d7a1d;
}
#registerModal .alert-danger,
#forgotModal .alert-danger,
#loginModal .alert-danger {
  background-color: #c0392b;
}
/* style.css:8240 (@media max-width:768px) forces 16px input font-size on mobile specifically to stop iOS Safari auto-zooming the page on focus — reusing that exact. */
@media (max-width: 768px) {
  #registerModal .form-control,
  #forgotModal .form-control,
  #loginModal .form-control {
    font-size: 16px;
  }
}
.preloader {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 50px;
}
.preloader.pl-size-xs {
  width: 25px;
  height: 25px;
}
.spinner-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-animation: tt-spinner-rotate 1200ms linear infinite;
  animation: tt-spinner-rotate 1200ms linear infinite;
}
.circle-clipper {
  display: inline-block;
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-color: inherit;
}
.right {
  float: right !important;
}
@-webkit-keyframes tt-spinner-rotate {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes tt-spinner-rotate {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
.tt-search-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 11;
  border: none;
  border-top: 2px solid var(--tt-card-border);
  border-right: 1px solid var(--tt-card-border);
  box-shadow: none;
  transition: all 0.5s;
}
@media (max-width: 1169px) {
  .tt-search-sidebar {
    width: 85%;
    max-width: 320px;
  }
  .ls-closed .tt-search-sidebar {
    margin-left: -100%;
  }
}
.tt-search-sidebar > form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.tt-search-sidebar .menu {
  position: relative;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  flex: 1 1 auto;
  min-height: 0;
}
body:has(.tt-search-sidebar) #main-content {
  /* ROOT-CAUSE FIX: this 315px (sidebar's real 300px width + a 15px gutter) left #main-content's own left edge sitting 15px right of the sidebar's actual right border. */
  margin: 0 15px 0 300px;
  transition: 0.5s;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* ROOT-CAUSE FIX: the first implementation converted .container-fluid AND .row into their own nested flex-column containers (flex:1 1 auto; min-height:0; display:flex). */
body:has(.tt-search-sidebar) #main-content > .container-fluid,
body:has(.tt-search-sidebar) #main-content > .container-fluid > .row {
  display: contents;
}
/* Everything above SlotBox (and the bottom banner below it) keeps its natural/intrinsic height and never shrinks or grows — only #SlotBox is the flexible, scrolling. */
#login-bar,
#SelectResourceSec.course-name-bar,
#TeeTimesTopBanner,
#TeeTimesBottomBanner {
  flex: 0 0 auto;
}
/* The new scroll container. display:grid (from #SlotBox.slot-outer-box, unchanged) still governs how its OWN card children lay out; these properties only govern how ITS. */
#SlotBox {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  /* ROOT-CAUSE FIX: Course Name / Find your next round / Tee Time Slots should share one left baseline, but this box still relied on Bootstrap's own unremoved col-* 15px. */
  padding-left: var(--tt-space-6, 24px);
}
@media (max-width: 1169px) {
  /* Native ::-webkit-scrollbar CSS is not honored by the touch/overlay renderer below 1169px (see comment above), so the native indicator is hidden via plain box geometry. */
/* CCD-1284 (later session): "comment out mobile view custom scrolling css ... */
}
/* padding-right reserves room for the overlay's own width (CLIP_OFFSET 20px + that tier's track width -- see teetime-restyle.js's getSize()) PLUS an explicit extra. */
@media (max-width: 480px) {
  /* CCD-1284 (later session): reserved room for the retired overlay scrollbar (20 + 12 + 8px gap). */
}
@media (min-width: 481px) and (max-width: 767px) {
  /* CCD-1284 (later session): was 20 + 14 + 10px gap -- disabled, see above. */
}
@media (min-width: 768px) and (max-width: 1169px) {
  /* CCD-1284 (later session): was 20 + 16 + 12px gap -- disabled, see above. */
}
@media (min-width: 1170px) {
  #SlotBox {
    padding-bottom: var(--tt-space-6);
  }
}
/* CCD-1284 (later session): "leftsidebar want mobile view native scrolling, comment out custom scrolling css." These four are the custom overlay scrollbar's geometry for. */
/* CCD-1284: a previous pass added a .tt-slot-scrollbar-gutter-mask rule here (a solid var(--tt-card-bg) column painted over the scrollbar's own gutter while the sidebar's. */
.tt-slot-scrollbar-track {
  position: fixed;
  width: 16px;
  background: transparent;
  border: none;
  pointer-events: none;
  z-index: 100000020;
  display: none;
}
.tt-slot-scrollbar-thumb {
  position: fixed;
  width: 12px;
  min-height: 30px;
  background-color: #c1c1c1;
  border-radius: 6px;
  pointer-events: none;
  z-index: 100000021;
  display: none;
  cursor: pointer;
  /* ROOT-CAUSE FIX: making this pointer-events:auto (for real thumb dragging) also makes it a normal tap target, so mobile browsers now paint their own default tap-highlight. */
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
/* ROOT-CAUSE FIX: no hover styling existed at all for this thumb (or the track/arrows) before now -- there was nothing "broken," the darken-on- hover feedback simply. */
.tt-slot-scrollbar-thumb.tt-slot-scrollbar-hover {
  background-color: #a8a8a8;
}
/* Darker while actively dragged, matching a native scrollbar thumb's own drag feedback -- same #8b8b8b already measured as this project's real native thumb color (see the. */
.tt-slot-scrollbar-thumb.tt-slot-scrollbar-dragging {
  background-color: #8b8b8b;
}
.tt-slot-scrollbar-arrow {
  position: fixed;
  width: 16px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100000022;
  display: none;
  padding: 0;
}
.tt-slot-scrollbar-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.tt-slot-scrollbar-arrow--up::before {
  border-bottom: 5px solid #6e6e6e;
  transform: translate(-50%, -70%);
}
.tt-slot-scrollbar-arrow--down::before {
  border-top: 5px solid #6e6e6e;
  transform: translate(-50%, -30%);
}
@media (min-width: 1170px) {
  .tt-slot-scrollbar-track,
  .tt-slot-scrollbar-thumb,
  .tt-slot-scrollbar-arrow {
    display: none !important;
  }
}
@media (min-width: 1170px) {
  .ls-closed .tt-search-sidebar {
    margin-left: -300px;
  }
}
body:has(.tt-search-sidebar).ls-closed #main-content {
  margin-left: 15px;
}
.overlay-open .tt-search-sidebar {
  margin-left: 0;
  z-index: 99999999;
}
@media (max-width: 1169px) {
  body:has(.tt-search-sidebar) #main-content {
    margin: 0;
  }
  body:has(.tt-search-sidebar).ls-closed #main-content {
    margin-left: 0;
  }
}
/* CCD-1284 (later session): "comment out mobile view custom scrolling css for slots_view / tee_times / booking_view -- use default mobile view scrolling, booking and. */
@media (max-width: 1169px) {
  body:has(.tt-search-sidebar) #main-content {
    height: auto;
    overflow: visible;
    display: block;
  }
  body:has(.tt-search-sidebar) #SlotBox {
    flex: none;
    min-height: auto;
    overflow-y: visible;
    overflow-x: visible;
  }
  /* FUNCTIONAL, not cosmetic: the mobile search drawer froze the page behind it by setting overflow-y:hidden on #SlotBox (teetime-restyle.js, lockSlotBoxScroll). */
  body.overlay-open:has(.tt-search-sidebar) {
    overflow: hidden;
  }
}
/* CCD-1284 (later session, follow-up to the shell removal directly above): "listing page header and Find your next round section not fixed while scrolling -- expected. */
@media (max-width: 1169px) {
  body:has(.tt-search-sidebar) #login-bar {
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: var(--tt-card-bg, #ffffff);
  }
  body:has(.tt-search-sidebar) #SelectResourceSec.course-name-bar {
    position: sticky;
    top: var(--tt-listing-header-height, 0px);
    z-index: 4;
    background-color: var(--tt-card-bg, #ffffff);
  }
}
.list-grid-view-outer {
  display: flex;
}
.list-grid-inner {
  display: flex;
  align-items: center;
}
#TeeTimesTopBanner.tt-banner-fallback {
  background: linear-gradient(135deg, var(--tt-hover-bg, #e9f6eb) 0%, var(--tt-card-bg, #ffffff) 75%);
}
.page-loader-wrapper {
  z-index: 99999999;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #eee;
  overflow: hidden;
  text-align: center;
}
.page-loader-wrapper p {
  font-size: 13px;
  margin-top: 10px;
  font-weight: bold;
  color: #444;
}
.page-loader-wrapper .loader {
  position: relative;
  top: calc(50% - 30px);
}
.overlay {
  position: fixed;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 10;
}
.navbar {
  display: none;
}
.bars.bars-navbar {
  display: none;
}
@media (max-width: 1169px) {
  .bars.bars-navbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--tt-space-3, 8px);
    border: 1px solid var(--tt-card-border);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
  }
  .bars.bars-navbar:hover,
  .bars.bars-navbar:focus {
    background-color: var(--tt-hover-bg, #e9f6eb);
  }
  .bars.bars-navbar::before {
    content: "";
    display: inline-block;
    width: var(--tt-text-base, 1rem);
    height: var(--tt-text-base, 1rem);
    background-color: var(--tt-text-body);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='21' x2='14' y1='4' y2='4'/%3E%3Cline x1='10' x2='3' y1='4' y2='4'/%3E%3Cline x1='21' x2='12' y1='12' y2='12'/%3E%3Cline x1='8' x2='3' y1='12' y2='12'/%3E%3Cline x1='21' x2='16' y1='20' y2='20'/%3E%3Cline x1='12' x2='3' y1='20' y2='20'/%3E%3Cline x1='14' x2='14' y1='2' y2='6'/%3E%3Cline x1='8' x2='8' y1='10' y2='14'/%3E%3Cline x1='16' x2='16' y1='18' y2='22'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='21' x2='14' y1='4' y2='4'/%3E%3Cline x1='10' x2='3' y1='4' y2='4'/%3E%3Cline x1='21' x2='12' y1='12' y2='12'/%3E%3Cline x1='8' x2='3' y1='12' y2='12'/%3E%3Cline x1='21' x2='16' y1='20' y2='20'/%3E%3Cline x1='12' x2='3' y1='20' y2='20'/%3E%3Cline x1='14' x2='14' y1='2' y2='6'/%3E%3Cline x1='8' x2='8' y1='10' y2='14'/%3E%3Cline x1='16' x2='16' y1='18' y2='22'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }
}
.tt-sidebar-close-btn {
  display: none;
}
@media (max-width: 1169px) {
  .tt-sidebar-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: -1;
    margin-left: -4px;
    padding: var(--tt-space-1, 4px);
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--tt-text-body);
    cursor: pointer;
    transition: background-color 0.15s ease;
  }
  .tt-sidebar-close-btn:hover,
  .tt-sidebar-close-btn:focus {
    background-color: var(--tt-hover-bg, #e9f6eb);
  }
  .tt-sidebar-close-btn::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' x2='6' y1='6' y2='18'/%3E%3Cline x1='6' x2='18' y1='6' y2='18'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' x2='6' y1='6' y2='18'/%3E%3Cline x1='6' x2='18' y1='6' y2='18'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }
}
.tt-search-sidebar,
.tt-search-sidebar .menu,
.tt-search-sidebar .card {
  background-color: var(--tt-card-bg) !important;
  color: var(--tt-text-body) !important;
  font-family: var(--tt-font-family);
}
.tt-search-sidebar .card {
  border-radius: 0;
  box-shadow: none !important;
  border: none;
  overflow: visible;
}
.tt-search-sidebar .list {
  overflow: visible !important;
  height: auto !important;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tt-search-sidebar .list > li {
  margin: 0;
  padding: 0;
}
.tt-sidebar-course-header {
  padding: 0 var(--tt-space-5);
  min-height: 59px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--tt-card-border);
}
.tt-sidebar-course-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.tt-sidebar-course-badge {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p, var(--s, #1f6f4a));
  color: #ffffff;
  border-radius: var(--tt-radius-card);
  font-weight: var(--tt-font-weight-semibold);
  font-size: var(--tt-text-base);
}
.tt-sidebar-course-text {
  min-width: 0;
}
.tt-sidebar-course-text .h4 {
  margin: 0;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* ROOT-CAUSE FIX: the original pre-restyle sidebar (application/views/web/ tee_times.php:90-93) renders the address in a plain, non-flex container with no white-space. */
.tt-sidebar-course-text .h4_small {
  margin: 0;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}
/* CCD-1284: sidebar course logo disabled (commented out) for now. */
.tt-search-sidebar .demo-button-groups {
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 20px;
  margin-bottom: 0;
}
.tt-search-sidebar .h4 {
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-semibold);
  color: var(--tt-text-body);
}
.tt-search-sidebar b.SliderValue {
  /* ROOT-CAUSE FIX: the later .tt-search-sidebar b rule's font-weight was made 700 !important (explicit request, for Date/Players/Holes/ Time/Price labels), which -- since. */
  font-weight: var(--tt-font-weight-normal) !important;
  color: var(--tt-text-muted);
  white-space: nowrap;
}
.tt-search-sidebar .h4_small {
  font-size: var(--tt-text-sm);
  color: var(--tt-text-muted);
}
.tt-search-sidebar b {
  font-size: var(--tt-text-sm);
  /* Explicit request: bumped past the Figma-verified 600(semibold) to 700(bold), !important. */
  font-weight: 700 !important;
  color: var(--tt-text-body);
  /* ROOT-CAUSE FIX: this rule predates the pass that added "Noto Sans" to every other Figma-matched text element on this page -- size/weight/ color already matched Figma. */
  font-family: "Noto Sans", sans-serif;
  line-height: var(--tt-line-height, 1.5);
}
.demo-button-groups.col-xs-12:not(.tt-sidebar-footer) p {
  font-size: var(--tt-text-sm);
  /* Explicit follow-up: the bold-700 bump above was requested for the left-sidebar content broadly, but the Billing Policy/tee-time-policy BODY text specifically should stay. */
  font-weight: var(--tt-font-weight-normal);
  /* ROOT-CAUSE FIX: this paragraph (Billing Policy / tee-time-policy body text) never got the "Noto Sans" override every other corrected element on this page already has, so. */
  font-family: "Noto Sans", sans-serif;
  line-height: var(--tt-line-height, 1.5);
  color: var(--tt-text-muted);
  margin: 0 0 var(--tt-space-4, 12px);
}
.tt-section-label {
  display: flex;
  align-items: center;
  gap: var(--tt-space-2);
  margin-bottom: 8px;
  white-space: nowrap;
}
.tt-search-sidebar .pull-left.tt-section-label,
.tt-search-sidebar .pull-right {
  max-width: 100%;
  overflow: visible;
}
.tt-search-sidebar .demo-button-groups:has(> .tt-icon-clock),
.tt-search-sidebar .demo-button-groups:has(> .tt-icon-price) {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--tt-space-2);
  align-items: baseline;
}
.tt-search-sidebar .demo-button-groups:has(> .tt-icon-clock) > .tt-section-label,
.tt-search-sidebar .demo-button-groups:has(> .tt-icon-price) > .tt-section-label {
  grid-column: 1;
  grid-row: 1;
  float: none;
  margin-bottom: 0;
}
.tt-search-sidebar .demo-button-groups:has(> .tt-icon-clock) > .pull-right,
.tt-search-sidebar .demo-button-groups:has(> .tt-icon-price) > .pull-right {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  float: none;
}
.tt-search-sidebar .demo-button-groups:has(> .tt-icon-clock) > .range-filter,
.tt-search-sidebar .demo-button-groups:has(> .tt-icon-price) > .range-filter {
  grid-column: 1 / -1;
  grid-row: 2;
  /* Reverted to var(--tt-space-3)(8px), matching Sidebar.tsx's actual mb-2 spec — a temporary bump to 16px (matching Holes/Date/Players' own since-reverted deviation) was. */
  margin-top: var(--tt-space-3);
}
.tt-section-label::before {
  font-family: FontAwesome;
  color: var(--p, var(--s, #1f6f4a));
  font-size: var(--tt-text-sm);
}
.tt-icon-users::before {
  content: "";
  display: inline-block;
  width: var(--tt-text-sm);
  height: var(--tt-text-sm);
  background-color: var(--p, var(--s, #1f6f4a));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
/* ROOT-CAUSE FIX: Calendar/Users above use the SVG-mask technique — content:""; display:inline-block; fixed width/height; a solid-color box centered via mask-image —. */
/* ROOT-CAUSE FIX (2nd re-investigation): stroke-width was bumped to 3 last pass to compensate for the pole rendering faint at 13px — that overshot and made the whole. */
.tt-icon-flag::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--p, var(--s, #1f6f4a));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' x2='4' y1='22' y2='15'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' x2='4' y1='22' y2='15'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.tt-icon-clock::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--p, var(--s, #1f6f4a));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.tt-icon-price::before { content: "\f155"; }
.tt-icon-calendar::before {
  content: "";
  display: inline-block;
  /* ROOT-CAUSE FIX: Sidebar.tsx/App.tsx's actual calendar icon is `<Calendar size={13} />` (Lucide) — a literal 13px icon-size prop, not tied to the text-size scale. */
  width: 13px;
  height: 13px;
  background-color: var(--p, var(--s, #1f6f4a));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.tt-search-sidebar .tt-reset-link {
  margin-left: auto;
  background: none;
  border: none;
  padding: 0;
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-medium);
  color: var(--tt-text-muted);
  text-decoration: underline;
  cursor: pointer;
}
.tt-search-sidebar .tt-reset-link:hover,
.tt-search-sidebar .tt-reset-link:focus {
  color: var(--tt-accent);
}
.tt-search-sidebar .datebox {
  display: block;
  width: 100%;
}
/* REVERTED (see this file's own earlier note, ~line 66-80): the literal source value oklch(0.145 0 0) for --sidebar-foreground/--foreground does NOT match live Figma. */
.tt-search-sidebar .datebox .form-control {
  display: block;
  float: none;
  width: 100%;
  /* ROOT-CAUSE FIX: Sidebar.tsx's Date input is className="w-full px-3 py-2 bg-input border border-border ..." — Tailwind's bare `border` utility, not `border-2`. */
  border: 1px solid var(--tt-card-border);
  border-radius: 4px;
  padding: var(--tt-space-3) var(--tt-space-4);
  font-size: var(--tt-text-sm);
  background: transparent;
  /* REVERTED: same static-source-vs-live-Figma mistake as the Date label above -- --foreground's literal oklch(0.145 0 0) does not match live DevTools, which already. */
  color: var(--tt-text-body);
  box-sizing: border-box;
  height: auto;
  box-shadow: none;
}
.tt-search-sidebar .datebox .form-control:focus {
  outline: none;
  border-color: var(--p, var(--s, #1f6f4a));
}
.tt-search-sidebar .tt-sidebar-footer {
  flex-shrink: 0;
  background: var(--tt-card-bg);
  padding-top: var(--tt-space-4);
  padding-bottom: var(--tt-space-4);
  border-top: 1px solid var(--tt-card-border);
}
/* Segmented button groups (Filters/Reset, Players, Holes) — restyle shape/spacing only. */
.tt-search-sidebar .filter-button {
  display: flex;
  gap: var(--tt-space-2);
  border-radius: 0;
}
.tt-search-sidebar .range-filter {
  display: block;
}
.tt-search-sidebar #TimeRange,
.tt-search-sidebar #PriceRange {
  width: 100%;
}
.tt-hidden-native-slider {
  display: none;
}
.tt-search-sidebar .filter-button .btn {
  box-sizing: border-box;
  flex: 1 1 0;
  width: auto !important;
  border-radius: 4px !important;
  /* Sidebar.tsx's Players/Holes buttons: fontSize var(--text-sm), fontWeight var(--font-weight-semibold) — was medium(500) here, Figma actually uses semibold(600) for both. */
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-semibold) !important;
  /* ROOT-CAUSE FIX: Sidebar.tsx's Holes/Players buttons use Tailwind's bare `border` utility class (className="py-2 border ..."), not `border-2` — Tailwind's default. */
  border: 1px solid var(--tt-card-border);
  /* ROOT-CAUSE FIX: Sidebar.tsx's Holes/Players buttons are `className="py-2 border transition-colors ..."` — py-2 only, no px-* class at all, so horizontal padding is 0. */
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 0;
  padding-right: 0;
  white-space: nowrap;
  line-height: normal;
}
.tt-search-sidebar .hole-button {
  margin-right: var(--tt-space-2);
}
.tt-search-sidebar .hole-button:last-child {
  margin-right: 0;
}
.tt-search-sidebar .filter-button.hole-outer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tt-space-2);
}
.tt-search-sidebar .filter-button.hole-outer .btn {
  margin-right: 0;
}
.tt-search-sidebar .filter-button .btn.bg-logbar:not(.bg-btncolor),
.tt-search-sidebar .filter-button .btn.bg-light-blue:not(.bg-btncolor) {
  background-color: transparent !important;
  /* Explicit request: Players (Any-6) and Holes (Any/9/18) inactive-state text color set to #18181c. */
  color: #18181c !important;
}
.tt-search-sidebar .filter-button .btn.bg-logbar:not(.bg-btncolor):hover,
.tt-search-sidebar .filter-button .btn.bg-light-blue:not(.bg-btncolor):hover {
  /* CCD-1284 (later session): explicit follow-up -- "leftsidebar currently apply secondary color its incorrect, leftsidebar apply primary color instead secondary". */
  background-color: color-mix(in srgb, var(--p, var(--s, #1f6f4a)) 10%, white) !important;
}
/* Players — per screenshot comparison, Figma lays these out as a clean 4-column grid (wrapping to a second row past 4 buttons) rather than a single crammed row. */
/* CCD-1284 (phase 4): Players in ONE row, like the original project (Any, 1, 2 ... */
.tt-search-sidebar .filter-button.player-outer {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--tt-space-2);
}
.tt-search-sidebar .filter-button.player-outer .btn {
  margin-right: 0;
  min-width: 0;
}
.tt-search-sidebar .filter-button.player-outer .btn[data-value="any"] {
  flex-grow: 1.7;
}
/* CCD-1284 (phase 4): a course that allows 6 players renders 7 buttons (Any, 1 ... */
.tt-search-sidebar .filter-button.player-outer:has(.btn:nth-child(7)) {
  gap: 4px;
}
.tt-search-sidebar .filter-button.player-outer:has(.btn:nth-child(7)) .btn[data-value="any"] {
  flex-grow: 1;
}
.tt-group-booking {
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--tt-card-border);
  border-radius: var(--tt-radius-button);
  background: var(--tt-card-bg);
}
.tt-group-booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--tt-space-2);
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-semibold);
  color: var(--tt-text-body);
}
.tt-group-booking-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tt-group-booking-stepper button {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tt-card-border);
  border-radius: var(--tt-radius-button);
  background: var(--tt-card-bg);
  color: var(--tt-text-body);
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-semibold);
  cursor: pointer;
}
.tt-group-booking-stepper button:hover {
  background: var(--tt-surface-muted);
}
.tt-group-booking-stepper input[type="number"] {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: var(--tt-space-2);
  border: 1px solid var(--tt-card-border);
  border-radius: var(--tt-radius-button);
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-semibold);
  color: var(--tt-text-body);
  background: var(--tt-card-bg);
}
/* ARCHITECTURE CHANGE (explicit direction): #PriceRange (the noUiSlider generated by page_v2.js — untouched) is no longer the visible UI at all — it's hidden. */
/* Time's visible control: two independent, side-by-side native inputs, matching Figma's literal Sidebar.tsx Time structure exactly (`<div className="flex gap-2. */
.tt-figma-range-row {
  display: flex;
  gap: var(--tt-space-3);
  align-items: center;
  min-width: 0;
}
.tt-figma-range-input {
  flex: 1;
  min-width: 0;
  margin: 0;
  accent-color: var(--p, var(--s, #1f6f4a));
}
/* TIME RANGE ONLY (explicit direction, confirmed after being shown Figma's actual source — Sidebar.tsx, read directly via the Figma MCP, not assumed): Figma's real Time. */
#TimeRangeFigma,
#PriceRangeFigma {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: none;
}
#TimeRangeFigma {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
}
#TimeRangeFigma .tt-figma-dual-range-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  /* Per direct visual comparison against Price's native track ("thicker line, with a border"): bumped from 4px and added a border. */
  height: 8px;
  background: var(--tt-surface-muted);
  border: 1px solid #9ca3af;
  border-radius: 999px;
  overflow: hidden;
}
#TimeRangeFigma .tt-figma-dual-range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--p, var(--s, #1f6f4a));
  /* left/width set inline by teetime-restyle.js */
}
#TimeRangeFigma .tt-figma-dual-range-visual-thumb,
#PriceRangeFigma .tt-figma-dual-range-visual-thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--p, var(--s, #1f6f4a));
  pointer-events: none;
  z-index: 1;
}
#TimeRangeFigma #TimeRangeMin,
#TimeRangeFigma #TimeRangeMax {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 100%;
  height: 16px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
#TimeRangeFigma #TimeRangeMin::-webkit-slider-runnable-track,
#TimeRangeFigma #TimeRangeMax::-webkit-slider-runnable-track {
  background: transparent;
  height: 8px;
}
#TimeRangeFigma #TimeRangeMin::-moz-range-track,
#TimeRangeFigma #TimeRangeMax::-moz-range-track {
  background: transparent;
  height: 8px;
  border: none;
}
#TimeRangeFigma #TimeRangeMin::-webkit-slider-thumb,
#TimeRangeFigma #TimeRangeMax::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  background: var(--p, var(--s, #1f6f4a));
  opacity: 0;
  box-shadow: none;
  cursor: default;
  /* WebKit does not auto-center a custom thumb against a differently sized custom track — it aligns the thumb's TOP edge to the track's TOP edge by default. */
  margin-top: -4px;
}
#TimeRangeFigma #TimeRangeMin::-moz-range-thumb,
#TimeRangeFigma #TimeRangeMax::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  background: var(--p, var(--s, #1f6f4a));
  opacity: 0;
  box-shadow: none;
  cursor: default;
}
@supports (color: hsl(from red h s l)) {
  #TimeRangeFigma .tt-figma-dual-range-visual-thumb.tt-thumb-hover:not(.tt-range-dragging),
  #PriceRangeFigma .tt-figma-dual-range-visual-thumb.tt-thumb-hover:not(.tt-range-dragging) {
    background: hsl(from var(--p, var(--s, #1f6f4a)) h s calc(l - 10.98));
  }
  #TimeRangeFigma .tt-figma-dual-range-visual-thumb.tt-range-dragging,
  #PriceRangeFigma .tt-figma-dual-range-visual-thumb.tt-range-dragging {
    background: hsl(from var(--p, var(--s, #1f6f4a)) h s calc(l + 10.98));
  }
  /* Fill/track: hover still uses :hover (only ever reported as working correctly, never flagged as a repaint problem) -- only the active/ dragging trigger moved to the same. */
  #TimeRangeFigma:hover .tt-figma-dual-range-fill {
    background: hsl(from var(--p, var(--s, #1f6f4a)) h s calc(l - 10.98));
  }
  #TimeRangeFigma:has(.tt-range-dragging) .tt-figma-dual-range-fill {
    background: hsl(from var(--p, var(--s, #1f6f4a)) h s calc(l + 10.98));
  }
}
#TimeRangeFigma #TimeRangeMin:active::-webkit-slider-thumb,
#TimeRangeFigma #TimeRangeMax:active::-webkit-slider-thumb,
#TimeRangeFigma #TimeRangeMin:active::-moz-range-thumb,
#TimeRangeFigma #TimeRangeMax:active::-moz-range-thumb {
  cursor: default;
}
/* PRICE RANGE: converted to the same single-shared-track overlay pattern as Time (#TimeRangeFigma above), per explicit direction to reuse Time's proven technique. */
#PriceRangeFigma {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
}
/* ROOT-CAUSE FIX (proven via DevTools Styles panel, not guessed): this element and #PriceRangeMin/#PriceRangeMax below were each position: absolute with neither top nor. */
#PriceRangeFigma .tt-figma-dual-range-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 8px;
  background: var(--tt-surface-muted);
  border: 1px solid #9ca3af;
  border-radius: 999px;
  overflow: hidden;
}
#PriceRangeFigma .tt-figma-dual-range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--p, var(--s, #1f6f4a));
  /* left/width set inline by teetime-restyle.js */
}
#PriceRangeFigma #PriceRangeMin,
#PriceRangeFigma #PriceRangeMax {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 100%;
  height: 16px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
#PriceRangeFigma #PriceRangeMin::-webkit-slider-runnable-track,
#PriceRangeFigma #PriceRangeMax::-webkit-slider-runnable-track {
  background: transparent;
  height: 8px;
}
#PriceRangeFigma #PriceRangeMin::-moz-range-track,
#PriceRangeFigma #PriceRangeMax::-moz-range-track {
  background: transparent;
  height: 8px;
  border: none;
}
#PriceRangeFigma #PriceRangeMin::-webkit-slider-thumb,
#PriceRangeFigma #PriceRangeMax::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  background: var(--p, var(--s, #1f6f4a));
  opacity: 0;
  box-shadow: none;
  cursor: default;
  /* margin-top = (track-height - thumb-height) / 2 = (8px - 16px) / 2 = -4px — see the matching comment on #TimeRangeFigma's own thumb rule for the full explanation of why. */
  margin-top: -4px;
}
#PriceRangeFigma #PriceRangeMin::-moz-range-thumb,
#PriceRangeFigma #PriceRangeMax::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  background: var(--p, var(--s, #1f6f4a));
  opacity: 0;
  box-shadow: none;
  cursor: default;
}
/* CCD-1284 (later session): "listing page time and price scroll bar range, when hover and scrolling, want the same primary color with the current opacity when the primary. */
@supports (color: hsl(from red h s l)) {
  #PriceRangeFigma:hover .tt-figma-dual-range-fill {
    background: hsl(from var(--p, var(--s, #1f6f4a)) h s calc(l - 10.98));
  }
  #PriceRangeFigma:has(.tt-range-dragging) .tt-figma-dual-range-fill {
    background: hsl(from var(--p, var(--s, #1f6f4a)) h s calc(l + 10.98));
  }
}
#PriceRangeFigma #PriceRangeMin:active::-webkit-slider-thumb,
#PriceRangeFigma #PriceRangeMax:active::-webkit-slider-thumb,
#PriceRangeFigma #PriceRangeMin:active::-moz-range-thumb,
#PriceRangeFigma #PriceRangeMax:active::-moz-range-thumb {
  cursor: default;
}
.tt-search-sidebar #UpdateFilerButton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--tt-space-2);
  /* CCD-1284 (later session): explicit follow-up -- "leftsidebar search for teetime button background color apply with primary color". */
  background-color: var(--p, var(--s, #1f6f4a)) !important;
  border-radius: 4px !important;
  /* ROOT-CAUSE FIX: Sidebar.tsx's equivalent "Search Tee Times" button is fontSize:"var(--text-base)", fontWeight:"var(--font-weight-semibold)" — this was text-sm(12px). */
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-semibold);
  line-height: 1.5;
  padding-top: var(--tt-space-3);
  padding-bottom: var(--tt-space-3);
  transition: opacity 0.15s ease;
}
.tt-search-sidebar #UpdateFilerButton:hover {
  opacity: 0.9;
}
.tt-search-sidebar #UpdateFilerButton .fa-search {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.tt-search-sidebar #UpdateFilerButton .fa-search::before {
  content: "";
}
/* Resource bar — grid/list toggle .course-name-bar and .ResourceBtn are restyled directly in tee_times.php's own page-scoped inline <style> block instead (that block. */
.list-grid-view-outer {
  display: inline-flex;
  align-items: center;
  background-color: var(--tt-card-bg) !important;
  border: 1px solid var(--tt-card-border);
  border-radius: var(--tt-radius-button);
  padding: 2px;
}
.list-grid-inner {
  display: flex;
  align-items: center;
}
.lg-btn {
  display: inline-flex !important;
  align-items: center;
  gap: var(--tt-space-2);
  padding: 6px 10px !important;
  margin-right: 0;
  background-color: transparent !important;
  border: none !important;
  border-radius: var(--tt-radius-button) !important;
  box-shadow: none !important;
  /* ROOT-CAUSE FIX: verified via live Figma Make connection — this inactive-state text/icon color (icon uses currentColor) renders #3c3c3e (--tt-card-foreground) in the. */
  color: var(--tt-card-foreground);
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-medium);
  font-family: "Noto Sans", sans-serif;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
#SelectResourceSec .lg-btn:not(.active-lg-btn):hover {
  /* CCD-1284 (later session): explicit follow-up -- "Find your next round section resource box and grid/list hover effect want primary color with same opacity". */
  background-color: color-mix(in srgb, var(--p, var(--s, #1f6f4a)) 10%, white) !important;
  opacity: 1 !important;
}
.lg-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lg-btn-icon .fa-th,
.lg-btn-icon .fa-th-list {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.lg-btn-icon .fa-th::before,
.lg-btn-icon .fa-th-list::before {
  content: "";
}
.lg-btn-icon .fa-th {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='14' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='14' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3C/svg%3E");
}
.lg-btn-icon .fa-th-list {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
}
.lg-btn-label {
  white-space: nowrap;
}
.lg-btn.active-lg-btn {
  /* CCD-1284 (later session): explicit follow-up -- selected Grid/List button takes the primary colour; see .ResourceBtn.ResourceActive for the full note, including why this. */
  background-color: var(--p, var(--s, #1f6f4a)) !important;
  color: #fff !important;
}
/* CCD-1284 (later session): explicit follow-up -- "resource and grid/list active or selected button do not want hover effect with secondary color, remove it hover effect". */
/* CCD-1284 (later session): "when primary/secondary colour is set, toggling grid <-> list and then hovering shows the SECONDARY colour as the button background. */
#SelectResourceSec .lg-btn.active-lg-btn:hover,
#SelectResourceSec .lg-btn.active-lg-btn:focus,
#SelectResourceSec .lg-btn.active-lg-btn:focus-visible,
#SelectResourceSec .lg-btn.active-lg-btn:active {
  background-color: var(--p, var(--s, #1f6f4a)) !important;
  opacity: 1 !important;
}
/* Login / Sign-out header (application/views/teetime_restyle_partials/login_header.php) This page now loads a NEW, TeeTime-only partial instead of the shared. */
.tt-login-header {
  background: var(--tt-card-bg);
  border-top: 2px solid var(--tt-card-border);
  border-bottom: 1px solid var(--tt-card-border);
  padding: var(--tt-space-4) var(--tt-space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tt-space-4);
  flex-wrap: wrap;
}
/* CCD-1284 (later session): Login Header fixed-on-scroll. */
body:has(.tt-booking-sidebar) .tt-login-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}
/* CCD-1284 (later session): compensates for .tt-login-header leaving normal flow above -- without this, .tt-booking-hero (the very next sibling inside the same .card). */
body:has(.tt-booking-sidebar) .tt-booking-hero {
  padding-top: calc(20px + var(--tt-login-header-height, 0px));
}
#login-bar .card {
  box-shadow: none;
  margin-bottom: 0 !important;
}
#loginbar.tt-login-notice-bar {
  /* CCD-1284 (phase 4): the "Read more, if you are experiencing issues while booking online." bar now follows the course's PRIMARY colour (--p) and keeps the default green. */
  background-color: var(--p, #1f6f4a) !important;
  padding: 5px 5px 3px 5px;
}
.tt-login-notice-text,
.tt-login-notice-text a {
  color: #ffffff;
}
.tt-login-notice-text {
  font-size: 13px;
}
#ratetype-section {
  display: none;
}
#TeeTimesTopBanner,
#TeeTimesBottomBanner {
  width: 100%;
  /* CCD-1284 (phase 4): line the banners up with the tee-time cards. */
  padding: 0 15px 0 var(--tt-space-6, 24px);
}
/* CCD-1284 (phase 4): a banner image wider than the banner area used to overflow it. */
#TeeTimesTopBanner img,
#TeeTimesBottomBanner img {
  max-width: 100%;
}
/* CCD-1284 (phase 4): with a bottom banner, the gap between the last row of tee-time cards and the banner was the cards' grid gap PLUS #SlotBox's own 24px padding-bottom. */
@media (min-width: 1170px) {
  body:has(#TeeTimesBottomBanner.tt-banner-has-content) #SlotBox {
    padding-bottom: 0;
  }
}
/* Audit of the original page (web/tee_times.php + assets/css/style.css): the banner has no vertical padding or margin of its own (style="width:100%; padding:0 15px"), and. */
#TeeTimesBottomBanner.tt-banner-has-content {
  padding-top: 10px;
}
/* The same cap for the wrappers an editor puts around the image (a div/p/figure/link with its own fixed width): an image can only fit its PARENT, so a wide fixed-width. */
:is(#TeeTimesTopBanner, #TeeTimesBottomBanner) :is(div, p, figure, a, center, picture) {
  max-width: 100%;
  box-sizing: border-box;
}
/* CCD-1284 (phase 4): a TEXT banner now gets the same vertical spacing an IMAGE banner gets. */
#TeeTimesTopBanner.tt-banner-has-content:not(:has(img)),
#TeeTimesBottomBanner.tt-banner-has-content:not(:has(img)) {
  /* CCD-1284 (phase 4), third pass: 14px, not 4px. */
  padding-bottom: 14px;
}
/* The reset follows the first-child / last-child chain three levels down, not only the banner's direct child. */
:is(#TeeTimesTopBanner, #TeeTimesBottomBanner).tt-banner-has-content:not(:has(img)) :first-child {
  margin-top: 0;
}
:is(#TeeTimesTopBanner, #TeeTimesBottomBanner).tt-banner-has-content:not(:has(img)) :last-child {
  margin-bottom: 0;
}
/* CCD-1284 (phase 4), second pass: the chain is now followed to ANY depth (the two rules above are plain descendant selectors), because a three-level limit was not enough. */
#loginModal .modal-body {
  padding: 0 15px !important;
}
#loginModal .ForgotPassLink {
  text-align: right;
}
.tt-social-signin-hidden {
  display: none;
  visibility: hidden;
}
.tt-slots-message-card {
  width: 100%;
}
.tt-teetime-row {
  margin: 0;
}
#holdErrorModal .modal-dialog {
  max-width: 512px;
}
#holdErrorModal .modal-content {
  position: relative;
  border-radius: var(--tt-radius-card);
  border: 1px solid var(--tt-card-border);
  box-shadow: var(--tt-shadow-card);
  font-family: var(--tt-font-family);
  padding: var(--tt-space-6);
}
#holdErrorModal .modal-header {
  border-bottom: none;
  padding: 0;
  margin-bottom: var(--tt-space-5);
  min-height: 0;
}
#holdErrorModal .modal-body {
  padding: 0;
  margin-bottom: var(--tt-space-5);
}
#holdErrorModal .modal-footer {
  border-top: none;
  padding: 0;
}
.tt-hold-modal-close {
  position: absolute;
  top: var(--tt-space-5);
  right: var(--tt-space-5);
  opacity: 0.7;
  color: var(--tt-text-body);
  text-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tt-hold-modal-close:hover,
.tt-hold-modal-close:focus {
  opacity: 1;
}
#holdErrorMessage {
  color: var(--tt-text-body);
  font-size: var(--tt-text-base);
  margin: 0;
}
#holdExpiresCountdown {
  font-size: var(--tt-text-sm);
  margin-top: var(--tt-space-3);
  color: #c74600;
}
@media (max-width: 768px) {
  #holdErrorModal .modal-content {
    padding: var(--tt-space-5);
  }
  .tt-hold-modal-close svg {
    width: 12px;
    height: 12px;
  }
  .tt-hold-modal-close {
    top: 0;
    right: 0;
    padding: var(--tt-space-3);
  }
  /* The close button above is positioned absolute (removed from flow), so the message paragraph doesn't know to reserve room for it -- without this, a long first line could. */
  #holdErrorMessage {
    padding-right: var(--tt-space-5);
  }
  #holdErrorModal .modal-footer .btn {
    display: block;
    width: 100%;
    padding: var(--tt-space-4) var(--tt-space-5);
    font-size: var(--tt-text-base);
  }
}
@media (max-width: 480px) {
  #holdErrorModal .modal-footer .btn {
    width: 50%;
    margin: 0 auto;
    font-size: var(--tt-text-sm);
    padding: var(--tt-space-3) var(--tt-space-4);
  }
}
.tt-lottery-error-box.jconfirm-box {
  /* width:100% needed alongside max-width now that this box's parent (.jconfirm-box-container) is display:flex (see that rule's own comment) -- a flex ITEM with no explicit. */
  width: 100% !important;
  max-width: 512px;
  border-radius: var(--tt-radius-card) !important;
  border: 1px solid var(--tt-card-border) !important;
  box-shadow: var(--tt-shadow-card) !important;
  font-family: var(--tt-font-family);
  padding: var(--tt-space-6) !important;
}
.tt-lottery-error-box .jconfirm-title-c {
  margin-bottom: var(--tt-space-5);
  padding: 0;
}
.tt-lottery-error-box .jconfirm-title {
  color: var(--tt-card-foreground) !important;
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-semibold);
}
.tt-lottery-error-box .jconfirm-content-pane {
  margin: 0;
}
.tt-lottery-error-box .jconfirm-content {
  /* !important needed here -- the material theme's own .jconfirm-content color (rgba(0,0,0,.87)) ties this rule's specificity and was winning on source order in the plugin's. */
  color: var(--tt-text-body) !important;
  font-size: var(--tt-text-base);
  padding: 0;
}
.tt-lottery-error-box .jconfirm-buttons {
  margin-top: var(--tt-space-5);
  padding: 0;
  text-align: right;
}
/* OK button restyled to this project's established solid-brand-button convention (var(--s, #1f6f4a), same fallback pattern used ~40+ other places in this file) instead of. */
.tt-lottery-error-box .jconfirm-buttons button.btn-green {
  background-color: var(--s, #1f6f4a) !important;
  border-color: var(--s, #1f6f4a) !important;
  color: #fff !important;
  border-radius: var(--tt-radius-button);
  font-family: var(--tt-font-family);
  font-weight: var(--tt-font-weight-semibold);
  font-size: var(--tt-text-sm);
  padding: var(--tt-space-3) var(--tt-space-5);
  box-shadow: none;
  text-shadow: none;
}
.tt-lottery-error-box .jconfirm-buttons button.btn-green:hover,
.tt-lottery-error-box .jconfirm-buttons button.btn-green:focus {
  filter: brightness(0.9);
}
.tt-lottery-error-box .jconfirm-closeIcon {
  color: var(--tt-text-body);
  opacity: 0.7;
}
.tt-lottery-error-box .jconfirm-closeIcon:hover {
  opacity: 1;
}
.jconfirm-box-container:has(> .tt-lottery-error-box) {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  display: flex !important;
  justify-content: center !important;
  position: relative !important;
  /* This container itself sits a fixed 15px left of where it should (measured directly, repeatedly, at BOTH >768px and <=768px widths -- universal, not. */
  left: 15px !important;
}
@media (max-width: 768px) {
  .jconfirm-box-container:has(> .tt-lottery-error-box) {
    left: 15px !important;
  }
  .tt-lottery-error-box.jconfirm-box {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin: 0 !important;
    padding: var(--tt-space-5) !important;
  }
  /* CCD-1284: matches #holdErrorModal .modal-footer .btn's own <=768px treatment exactly (measured live: without this, the OK button stayed a small ~48px auto-width. */
  .tt-lottery-error-box .jconfirm-buttons {
    text-align: center;
  }
  .tt-lottery-error-box .jconfirm-buttons button.btn-green {
    display: block;
    width: 50%;
    margin: 0 auto;
    padding: var(--tt-space-4) var(--tt-space-5);
    font-size: var(--tt-text-base);
  }
}
@media (max-width: 480px) {
  /* Matches #holdErrorModal .modal-footer .btn's own <=480px tier. */
  .tt-lottery-error-box .jconfirm-buttons button.btn-green {
    width: 50%;
    margin: 0 auto;
    font-size: var(--tt-text-sm);
    padding: var(--tt-space-3) var(--tt-space-4);
  }
}
/* App.tsx's left block: OPERATOR_NAME (text-base/semibold) + a muted text-sm meta line underneath. */
.tt-login-left {
  display: flex;
  align-items: center;
  gap: var(--tt-space-3, 8px);
  min-width: 0;
}
/* CCD-1284 (later session): removed an uncommented, unexplained margin-left: calc(-1px - var(--tt-space-4) - 30px + var(--tt-space-6)) (-19px desktop) / calc(-1px. */
.tt-login-left .tt-login-btn {
  font-size: var(--tt-text-sm);
}
.tt-login-course-info {
  min-width: 0;
}
.tt-login-course-name {
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-semibold);
  color: var(--tt-text-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tt-login-course-meta {
  font-size: var(--tt-text-sm);
  color: var(--tt-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tt-login-header-inner {
  display: flex;
  align-items: center;
}
.tt-login-outer {
  display: flex;
  align-items: center;
  gap: var(--tt-space-2);
  font-size: var(--tt-text-sm);
}
.tt-login-greeting {
  color: var(--tt-text-body);
  margin-right: var(--tt-space-1);
}
.tt-login-btn,
.tt-login-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--tt-space-2);
  border: 1px solid var(--tt-card-border);
  border-radius: 4px;
  background: transparent;
  color: var(--tt-text-body);
  text-decoration: none;
  font: inherit;
  /* ROOT-CAUSE FIX: verified by connecting directly into the live Figma Make prototype and reading real getComputedStyle() on the actual "Login / Register" text. */
  font-family: "Noto Sans", sans-serif;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.tt-login-btn {
  padding: var(--tt-space-2) var(--tt-space-4);
  font-weight: var(--tt-font-weight-medium);
}
.tt-login-btn-short {
  display: none;
}
@media (max-width: 639px) {
  .tt-login-btn-full {
    display: none;
  }
  .tt-login-btn-short {
    display: inline;
  }
  /* CCD-1284 (later session): explicit follow-up -- "320px header section wrap, want in one row". */
  .tt-login-greeting {
    display: none;
  }
}
.tt-login-icon-btn {
  width: 32px;
  height: 32px;
  justify-content: center;
}
.tt-login-btn:link,
.tt-login-btn:visited {
  color: var(--tt-text-body);
}
/* CCD-1284 (later session): explicit follow-up -- "header profile and signout/login button hover color update with primary color, remain same opacity". */
.tt-login-icon-btn:hover {
  background-color: color-mix(in srgb, var(--p, var(--s, #1f6f4a)) 10%, white);
}
.tt-login-icon-btn.showProfile:hover {
  background-color: color-mix(in srgb, var(--p, var(--s, #1f6f4a)) 10%, white);
}
.tt-login-btn:hover,
.tt-login-btn:focus {
  background-color: color-mix(in srgb, var(--p, var(--s, #1f6f4a)) 10%, white);
  border-color: var(--tt-card-border);
  text-decoration: none;
}
.showProfile.tt-login-icon-btn {
  color: var(--tt-text-body) !important;
}
.tt-login-icon-btn .fa-user {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.tt-login-icon-btn .fa-user::before {
  content: "";
}
.tt-login-icon-btn .fa-moon-o,
.tt-login-icon-btn .fa-sun-o {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.tt-login-icon-btn .fa-moon-o::before,
.tt-login-icon-btn .fa-sun-o::before {
  content: "";
}
.tt-login-icon-btn .fa-moon-o {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E");
}
.tt-login-icon-btn .fa-sun-o {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='m4.93 4.93 1.41 1.41'/%3E%3Cpath d='m17.66 17.66 1.41 1.41'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='m6.34 17.66-1.41 1.41'/%3E%3Cpath d='m19.07 4.93-1.41 1.41'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='m4.93 4.93 1.41 1.41'/%3E%3Cpath d='m17.66 17.66 1.41 1.41'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='m6.34 17.66-1.41 1.41'/%3E%3Cpath d='m19.07 4.93-1.41 1.41'/%3E%3C/svg%3E");
}
.tt-login-btn .fa-sign-in,
.tt-login-btn .fa-sign-out,
.tt-login-btn .fa-arrow-left {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.tt-login-btn .fa-sign-in::before,
.tt-login-btn .fa-sign-out::before,
.tt-login-btn .fa-arrow-left::before {
  content: "";
}
.tt-login-btn .fa-sign-in {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E");
}
.tt-login-btn .fa-sign-out {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
}
.tt-login-btn .fa-arrow-left {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E");
}
/* Hero summary (tee_times.php) — read-only date/players/holes recap, matching App.tsx's meta row directly under its "Find your next round" title (now .tt-hero-title, in. */
.tt-hero-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--tt-space-2);
  margin: var(--tt-space-2) 0 0;
  /* ROOT-CAUSE FIX: verified via live Figma Make connection (getComputedStyle on the actual rendered meta row) — this row's real color is #8e8e93, not this project's. */
  /* CCD-1284 (Phase 3, WCAG 1.4.3): was #8e8e93, the colour the comment above records as live-Figma-verified. */
  color: var(--tt-text-muted, #717182);
  font-size: var(--tt-text-sm);
  font-family: "Noto Sans", sans-serif;
  /* ROOT-CAUSE FIX: this row never set its own font-weight, so it inherited 600 (semibold) from its ancestor #SelectResourceSec.course-name-bar's own font-weight declaration. */
  font-weight: var(--tt-font-weight-normal, 400);
}
.tt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--tt-space-2);
}
.tt-hero-badge::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  /* CCD-1284 (later session): explicit follow-up -- "Find your next round ... */
  background-color: var(--p, var(--s, #1f6f4a));
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.tt-hero-badge.tt-icon-calendar::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}
.tt-hero-badge.tt-icon-users::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
.tt-hero-badge.tt-icon-clock::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}
.tt-hero-sep {
  color: var(--tt-card-border);
}
/* Search loader (tee_times.php's #SlotBox initial markup — page_v2.js's $Loader captures this exact block and re-shows it via $Output.html($Loader) before every. */
#SlotBox .search-log {
  /* ROOT-CAUSE FIX (regression revert): an earlier pass here switched this from position:fixed (viewport-relative) to position:absolute relative to #SlotBox, reasoning that. */
  position: fixed !important;
  /* CCD-1284 (real screenshot evidence, both loader flows compared side by side at 320x795): the loader was ALREADY landing at the exact same absolute screen Y in both flows. */
  top: var(--tt-loader-top, 0) !important;
  right: 0 !important;
  bottom: var(--tt-loader-bottom, 0) !important;
  left: 0 !important;
  margin: auto !important;
  /* Auto-margin centering shrink-to-fits the WIDTH axis by default (an existing browser behavior for abspos/fixed boxes), but NOT the height axis -- with top/bottom both 0. */
  height: max-content;
  /* CCD-1284 (regression fix): the shared, unscoped `.search-log` rule (application/views/partials/common_css.php, loaded on every page that includes this partial) still. */
  transform: none !important;
  z-index: 12;
  width: 100%;
  max-width: 420px;
  background-color: var(--tt-card-bg) !important;
  /* Solid border, not the empty-state's dashed one — this now floats as an elevated overlay card (fixed + shadow) rather than sitting inline as a placeholder, so it reads. */
  border: 1px solid var(--s, var(--tt-card-border));
  /* border: 1px solid var(--tt-card-border); */
  border-radius: var(--tt-radius-card);
  box-shadow: var(--tt-shadow-card) !important;
}
@media (max-width: 1169px) {
  #SlotBox .search-log {
    width: calc(100% - 32px) !important;
  }
}
#SlotBox .search-log .body {
  padding: 3rem var(--tt-space-4);
}
#SlotBox .search-log .preloader {
  margin-bottom: var(--tt-space-3);
}
#SlotBox .search-log p,
#SlotBox .search-log p label {
  margin: 0;
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-semibold);
  color: var(--tt-text-body);
}
#SlotBox .search-log .circle-clipper.right {
  display: none;
}
#SlotBox .search-log .circle-clipper.left {
  float: none;
  width: 100%;
  overflow: visible;
}
#SlotBox .search-log .circle-clipper.left .circle {
  width: 100%;
}
.page-loader-wrapper .circle-clipper.right {
  display: none;
}
.page-loader-wrapper .circle-clipper.left {
  float: none;
  width: 100%;
  overflow: visible;
}
.page-loader-wrapper .circle-clipper.left .circle {
  width: 100%;
}
#SlotBox .search-log .circle-clipper .circle,
.page-loader-wrapper .circle-clipper .circle {
  border-color: var(--s, #1f6f4a) !important;
  border-bottom-color: transparent !important;
}
/* Empty state (slots_view.php — count($slots->record->SlotsSchedule) == 0) Matches App.tsx's own empty-state pattern exactly: `text-center py-16 border border-dashed. */
.tt-empty-state {
  text-align: center;
  padding: 3rem var(--tt-space-4);
  border: 1px dashed var(--tt-card-border);
  border-radius: var(--tt-radius-card);
  background: var(--tt-card-bg);
}
.tt-empty-state-title {
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-semibold);
  color: var(--tt-text-body);
  margin-bottom: var(--tt-space-1);
}
/* Explicit black, matching the title text next to it — inherits from .tt-empty-state-title anyway, but stated directly so this doesn't depend on inheritance if the. */
.tt-empty-state-icon {
  color: var(--tt-text-body);
}
.tt-empty-state-subtitle {
  font-size: var(--tt-text-sm);
  color: var(--tt-text-muted);
}
/* Tee-time card grid (slots_view.php) style.css already implements a full, working card-grid layout for .slot-outer-box: percentage-width wrapping cards (responsive. */
#main-content {
  background-color: var(--tt-card-bg);
  color: var(--tt-text-body);
  font-family: var(--tt-font-family);
}
/* ROOT-CAUSE FIX: this -30px bleed was meant to visually extend the header's background flush with the sidebar under the OLD #main-content 315px reservation (see that. */
#login-bar .card {
  margin-left: 0;
}
/* ROOT-CAUSE FIX: Course Name (this header) / Find your next round / Tee Time Slots were landing at three different left positions (345 / 330 / 315px from the viewport. */
#login-bar {
  padding-left: 0;
}
/* CCD-1284 (later session): the fix above zeroes #login-bar's own leftover Bootstrap-lookalike .col-sm-12/.col-md-12/.col-lg-12 padding-left(15px) for tee_times.php's. */
body:has(.tt-booking-sidebar) #login-bar {
  padding-right: 0;
}
.tt-login-header {
  padding-left: var(--tt-space-6, 24px);
}
.tt-login-header {
  padding-right: 0;
}
/* CCD-1284 (later session): Login Header horizontal spacing, using Figma's "Complete your booking" top bar as the measurement reference ONLY -- that section itself does. */
body:has(.tt-booking-sidebar) .tt-login-header {
  padding-right: var(--tt-space-6, 24px);
}
@media (max-width: 768px) {
  body:has(.tt-booking-sidebar) .tt-login-header {
    padding-right: 16px;
  }
}
@media all and (max-width:768px){
  #login-bar .card {
    margin-left: 0;
  }
  .tt-login-header {
    padding-left: 16px;
  }
  /* #login-bar itself still carries Bootstrap's col-sm-12/col-md-12/col-lg-12 classes, which apply their own unconditional 15px padding-left (Bootstrap's shared .col-* base. */
  #login-bar {
    padding-left: 0;
  }
}
#SlotBox.slot-outer-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tt-space-4);
  /* ROOT-CAUSE FIX (Lottery Sheet / few-slot vertical stretch): CSS Grid's `align-content` initial value is `normal`, which the spec defines to compute as `stretch` for a. */
  align-content: start;
}
@media (min-width: 640px) {
  #SlotBox.slot-outer-box {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #SlotBox.slot-outer-box {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ROOT-CAUSE FIX: the 5-column tier below used to trigger at a flat min-width:1280px, checking raw VIEWPORT width -- but #SlotBox's own rendered width is that viewport. */
@media (min-width: 1480px) {
  #SlotBox.slot-outer-box {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1750px) {
  #SlotBox.slot-outer-box {
    /* Desktop deliberately set to 5, not Figma's own xl:grid-cols-4 — explicit product request, not a Figma-matching value. */
    grid-template-columns: repeat(5, 1fr);
  }
}
#SlotBox.slot-outer-box > .card:not(.card-box-outer) {
  grid-column: 1 / -1;
}
.card-box-outer,
.slot-outer-box .card-box-outer {
  width: auto !important;
  margin: 0 !important;
  background-color: var(--tt-card-bg) !important;
  color: var(--tt-text-body); /* default for any field below with no color rule of its own — more specific child rules (muted labels, accent price) still win via normal cascade */
  /* ROOT-CAUSE FIX: was --tt-radius-sm (6px) -- Figma's own TeeTimeCard.tsx/ TeeTimeRow.tsx both set `borderRadius: var(--radius-card)`, which this project's own. */
  border-radius: var(--tt-radius-card) !important;
  border-top-left-radius: var(--tt-radius-sm) !important;
  border-top-right-radius: var(--tt-radius-sm) !important;
  box-shadow: var(--tt-shadow-card) !important;
  border: 1px solid var(--tt-card-border) !important;
  border-top: 3px solid var(--s, #1f6f4a) !important;
  clip-path: inset(0 round var(--tt-radius-sm) var(--tt-radius-sm) var(--tt-radius-card) var(--tt-radius-card));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card-box-outer.tt-card-lottery,
.slot-outer-box .card-box-outer.tt-card-lottery,
.card-box-outer:has(button.bg-lottery),
.slot-outer-box .card-box-outer:has(button.bg-lottery) {
  border-top-color: #4f5353 !important;
}
/* CCD-1284 (later session): "list view when hover border effect break some list box -- some top or bottom border width not same. */
/* CCD-1284 (later session, SECOND report of the same symptom): "list view when hover slot, some slot top border and bottom border thickness not exactly match." Measured. */
.slot-outer-box .card-box-outer:hover {
  border-right-color: var(--s, #1f6f4a) !important;
  border-bottom-color: var(--s, #1f6f4a) !important;
  border-left-color: var(--s, #1f6f4a) !important;
}
#SlotBox:not(.slot-outer-box) .card-box-outer:hover {
  border-top-color: var(--s, #1f6f4a) !important;
  border-right-color: var(--s, #1f6f4a) !important;
  border-bottom-color: var(--s, #1f6f4a) !important;
}
/* CCD-1284 (later session): "when hover slot box want same border color which that slot books -- Book Now default color and Request Now default background color apply on. */
.slot-outer-box .card-box-outer.tt-card-lottery:hover,
.slot-outer-box .card-box-outer:has(button.bg-lottery):hover {
  border-right-color: #4f5353 !important;
  border-bottom-color: #4f5353 !important;
  border-left-color: #4f5353 !important;
}
#SlotBox:not(.slot-outer-box) .card-box-outer.tt-card-lottery:hover,
#SlotBox:not(.slot-outer-box) .card-box-outer:has(button.bg-lottery):hover {
  border-top-color: #4f5353 !important;
  border-right-color: #4f5353 !important;
  border-bottom-color: #4f5353 !important;
}
/* The inner .teetime flex column already has its own bg/radius in grid mode; since the outer .card-box-outer now owns the visible border/shadow/radius (and clips via. */
.slot-outer-box .card-box-outer .teetime {
  background-color: transparent;
  border-radius: 0;
}
/* ROOT-CAUSE FIX (3rd pass — confirmed by two rounds of direct screenshot comparison): the ORIGINAL padding (12px vertical, this file's own var(--tt-space-4)) stacked. */
.card-box-outer .itembox {
  padding: var(--tt-space-1) var(--tt-space-4) !important;
}
.card-box-outer .resource-outer-label,
.card-box-outer .tee-time-label,
.card-box-outer .tt-price-label {
  font-size: var(--tt-text-sm);
  color: var(--tt-text-muted);
  font-weight: var(--tt-font-weight-normal);
}
.card-box-outer .tt-golfers-label,
.card-box-outer .resource-outer-label,
.card-box-outer .tee-time-label,
.card-box-outer .tt-price-label {
  display: none;
}
.card-box-outer .itembox br {
  display: none;
}
/* List mode (TeeTimeRow.tsx): time = text-base(16px)/semibold(600). */
.card-box-outer .small-tee-time,
.card-box-outer .itembox.tt-label {
  font-size: var(--tt-text-base) !important;
  font-weight: var(--tt-font-weight-semibold) !important;
  color: var(--tt-text-body) !important;
  box-shadow: none;
}
.card-box-outer .itembox.tt-price {
  font-size: var(--tt-text-base) !important;
  font-weight: var(--tt-font-weight-semibold) !important;
  color: var(--tt-text-body) !important;
  box-shadow: none;
}
/* TeeTimeCard.tsx's real Players/available row is `fontSize:"var(--text-sm)"`. */
.card-box-outer .golf-playercount {
  /* ROOT-CAUSE FIX: this div was left at its default display:block, so even after removing the stray <br> before it (see slots_view.php), it still dropped to its own new. */
  display: inline-block;
  width: inherit;
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-normal) !important;
  color: var(--tt-text-muted) !important;
}
.slot-outer-box .golf-playercount {
  display: inline-block;
  /* ROOT-CAUSE FIX: `width: inherit` copied the parent .tt-golfers grid item's own USED width (the full "auto"-track column width the grid resolves it to, e.g. */
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-normal) !important;
  color: var(--tt-text-muted) !important;
}
/* Resource / lottery badges — this comment previously described a "pill treatment matching TeeTimeCard.tsx's clubhouse-distance pill", but that pill shape. */
.card-box-outer .resource-label,
.card-box-outer .lotteryWaitList,
.slot-outer-box .resource-label,
.slot-outer-box .lotteryWaitList {
  display: inline-block !important;
  border-radius: var(--tt-radius-pill);
  padding: var(--tt-space-2) var(--tt-space-3) !important;
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-semibold) !important;
  text-align: center;
  letter-spacing: normal;
}
#SlotBox.slot-outer-box .card-box-outer .resource-label,
#SlotBox.slot-outer-box .card-box-outer .lotteryWaitList,
.slot-outer-box .card-box-outer .resource-label,
.slot-outer-box .card-box-outer .lotteryWaitList {
  display: inline !important;
  background-color: transparent !important;
  background-image: none;
  padding: 0 !important;
  border-radius: 0;
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-semibold) !important;
  /* ROOT-CAUSE FIX: verified by connecting directly into the live Figma Make prototype and reading real getComputedStyle() on the actual resource/rotation-name element. */
  font-family: "Noto Sans", sans-serif;
  line-height: var(--tt-line-height, 1.5);
  text-align: left;
}
#SlotBox.slot-outer-box .card-box-outer .resource-label .holeName,
#SlotBox.slot-outer-box .card-box-outer .lotteryWaitList .holeName,
.slot-outer-box .card-box-outer .resource-label .holeName,
.slot-outer-box .card-box-outer .lotteryWaitList .holeName {
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-semibold) !important;
  font-family: "Noto Sans", sans-serif;
}
#SlotBox.slot-outer-box .card-box-outer .resource-label,
.slot-outer-box .card-box-outer .resource-label {
  color: var(--s, #1f6f4a) !important;
}
#SlotBox.slot-outer-box .card-box-outer .lotteryWaitList,
.slot-outer-box .card-box-outer .lotteryWaitList {
  color: #4f5353 !important;
}
#SlotBox.slot-outer-box .card-box-outer .resource-label.bg-btncolor .holeName,
.slot-outer-box .card-box-outer .resource-label.bg-btncolor .holeName {
  background-color: transparent !important;
  background-image: none;
  color: var(--s, #1f6f4a) !important;
}
#SlotBox.slot-outer-box .card-box-outer .lotteryWaitList.bg-btncolor .holeName,
.slot-outer-box .card-box-outer .lotteryWaitList.bg-btncolor .holeName {
  background-color: transparent !important;
  background-image: none;
  color: #4f5353 !important;
}
/* TeeTimeCard.tsx's real Book Now button is `style={{fontSize:"var(--text-sm)", fontWeight:"var(--font-weight-semibold)"}}`. */
.card-box-outer .itembox.tt-btn button,
.slot-outer-box .teetime .itembox.tt-btn button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  border: none !important;
  border-radius: 0 !important;
  padding: var(--tt-space-3) var(--tt-space-4) !important;
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-semibold) !important;
  color: #000 !important;
  min-height: 34px;
}
.card-box-outer .itembox.tt-btn button::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: currentColor;
  margin-left: var(--tt-space-2);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.card-box-outer .itembox.tt-btn button.bg-lottery,
.slot-outer-box .teetime .itembox.tt-btn button.bg-lottery {
  background-color: #4f5353 !important;
  background-image: none !important;
  color: #fff !important;
}
/* Hover effect matching the original .bg-lottery:hover (application/views/ web/*.php, via style.css — not loaded here, so restated explicitly). */
.card-box-outer .itembox.tt-btn button.bg-lottery:hover,
.slot-outer-box .teetime .itembox.tt-btn button.bg-lottery:hover {
  background-color: #858989 !important;
  background-image: none !important;
  color: #fff !important;
}
.card-box-outer .itembox.tt-btn button.bg-btncolor,
.slot-outer-box .teetime .itembox.tt-btn button.bg-btncolor,
.card-box-outer .itembox.tt-btn button.bg-btncolor:hover,
.slot-outer-box .teetime .itembox.tt-btn button.bg-btncolor:hover {
  background-color: var(--s, #1F6F4A) !important;
  color: #fff !important;
}
/* ROOT-CAUSE FIX: row-gap was var(--tt-space-1)(4px) — TeeTimeCard.tsx's real body wrapper is `className="... */
.slot-outer-box .card-box-outer .teetime {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "time     price"
    "resource resource"
    "holes    golfers"
    "btn      btn";
  gap: var(--tt-space-2) var(--tt-space-3);
  /* ROOT-CAUSE FIX: this row still carries Bootstrap's own .col-sm-12/.col-md-12/.col-lg-12 classes (legacy markup, untouched), which apply Bootstrap's default 15px. */
  padding-left: 0;
  padding-right: 0;
  /* ROOT-CAUSE FIX: both TeeTimeCard.tsx rows this grid replaces (`flex items-center justify-between px-3 pt-3` for Time/Price, and the Holes/Players row) explicitly set. */
  align-items: center;
}
.slot-outer-box .card-box-outer .teetime .itembox {
  width: auto !important;
  text-align: left;
}
/* REVERTED per explicit user correction: a prior pass this session changed this to font-size:var(--tt-text-lg)(18px)/font-weight:medium(500), reasoning that Figma's <h3. */
/* ROOT-CAUSE FIX: Time/Price is the FIRST row in the card — Figma's real equivalent (`<div className="flex items-center justify-between px-3 pt-3">`) sits in its OWN. */
.slot-outer-box .card-box-outer .teetime .tt-label {
  grid-area: time;
  padding-top: var(--tt-space-4) !important;
  /* ROOT-CAUSE FIX: Figma's Time/Price row (`px-3 pt-3`) has NO padding of its own on its bottom edge — the gap to the next row comes entirely from the content wrapper's. */
  padding-bottom: 0 !important;
  /* ROOT-CAUSE FIX: verified by connecting directly into the live Figma Make prototype (its rendered DOM, not just its unreadable source package) and reading real. */
  font-family: "Noto Sans", sans-serif;
  font-size: var(--tt-text-base) !important;
  font-weight: var(--tt-font-weight-normal) !important;
  color: var(--tt-card-foreground) !important;
  line-height: 1.5;
}
.slot-outer-box .card-box-outer .teetime .tt-label .small-tee-time {
  font-family: "Noto Sans", sans-serif;
  font-size: var(--tt-text-base) !important;
  font-weight: var(--tt-font-weight-normal) !important;
  color: var(--tt-card-foreground) !important;
  line-height: 1.5;
}
/* ROOT-CAUSE FIX: TeeTimeCard.tsx's real price span is `style={{fontSize:"var(--text-sm)", fontWeight:"var(--font-weight-semibold)"}}` className="text-primary" —. */
.slot-outer-box .card-box-outer .teetime .itembox.tt-price.teetime-col-4 {
  grid-area: price;
  text-align: right;
  /* Same fix/reasoning as .tt-label (Time) above — Price shares the same first row, so it needs the same 12px top-edge spacing. */
  padding-top: var(--tt-space-4) !important;
  /* font-size was hardcoded 0.875rem(14px) before --tt-text-sm was confirmed 12px via live prototype measurement — switched to the token for consistency with the rest of. */
  font-size: var(--tt-text-sm) !important;
  /* Explicit 700, not var(--tt-font-weight-semibold)(600) — per explicit instruction, after confirming 600=600 on both sides but the price still visibly read lighter than. */
  font-weight: 700 !important;
  /* .text-primary { color: var(--primary); } — per direct Figma inspection, --primary resolves to #1b6d37 (not theme.css's static source value of #030213, which was. */
  color: var(--s, #1b6d37) !important;
  /* Same reasoning as .tt-label above — Price shares the Time row, so it needs the same zeroed bottom padding for the same 8px total. */
  padding-bottom: 0 !important;
}
/* ROOT-CAUSE FIX: the var(--s, ...) price color above is meant only for normal (bookable) slots -- a lottery/waitlist card's own border-top already stays a fixed. */
.card-box-outer.tt-card-lottery .teetime .itembox.tt-price.teetime-col-4,
.slot-outer-box .card-box-outer.tt-card-lottery .teetime .itembox.tt-price.teetime-col-4,
.card-box-outer:has(button.bg-lottery) .teetime .itembox.tt-price.teetime-col-4,
.slot-outer-box .card-box-outer:has(button.bg-lottery) .teetime .itembox.tt-price.teetime-col-4 {
  color: #4f5353 !important;
}
/* ROOT-CAUSE FIX: this item used to carry its OWN 6px top/bottom padding override, on top of the grid's row-gap — the same double-counting bug as the base .itembox rule. */
.slot-outer-box .card-box-outer .teetime .itembox.teetime-col-2 {
  grid-area: resource;
  /* ROOT-CAUSE FIX: Figma's Time->Resource transition is 8px total (the content wrapper's pt-2), and Resource->Holes is 6px (gap-1.5) — the grid's own row-gap already. */
  padding-top: 2px !important;
  padding-bottom: 0 !important;
}
.slot-outer-box .card-box-outer .teetime .tt-golfers {
  grid-area: golfers;
  text-align: right !important;
  /* ROOT-CAUSE FIX: Holes' own itembox rule (.itembox.tt-price.teetime- col-hole below) sets font-size on the WHOLE row container, so its entire line box (including the. */
  font-size: var(--tt-text-sm) !important;
  /* ROOT-CAUSE FIX (2nd pass): Holes' own rule below also zeroes its padding-top (its row-gap already supplies the needed transition space, see that rule's own comment). */
  padding-top: 0 !important;
}
.slot-outer-box .card-box-outer .teetime .itembox.tt-price.teetime-col-hole {
  grid-area: holes;
  text-align: left;
  /* Same 6px-transition reasoning as Resource's padding-bottom above — the 6px row-gap alone matches Figma's gap-1.5, no extra top padding needed on this side of the. */
  padding-top: 0 !important;
  /* ROOT-CAUSE FIX (2nd pass): this rule set font-size WITHOUT !important, so it never actually won against the base `.card-box-outer .itembox.tt-price` rule's. */
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-normal) !important;
  color: var(--tt-text-muted) !important;
}
.slot-outer-box .card-box-outer .teetime .tt-btn {
  grid-area: btn;
  /* Flush, edge-to-edge button matching TeeTimeCard.tsx (no card padding around the CTA) — beats style.css's `padding:15px 10px !important` shared by every other .itembox. */
  padding: 0 !important;
  align-self: end;
  margin-left: -15px;
  margin-right: -15px;
}
/* Icons matching Figma's MapPin/Users/Flag prefixes (Sidebar.tsx pattern reused here) — decorative only, ::before needs no new DOM node, so the "Golfers:"/"Snow Tubers:". */
.slot-outer-box .card-box-outer .teetime-col-2::before,
.slot-outer-box .card-box-outer .tt-golfers::before,
.slot-outer-box .card-box-outer .teetime-col-hole::before {
  content: "";
  display: inline-block;
  vertical-align: -1px;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
/* ROOT-CAUSE FIX: this icon-to-text gap was grouped with .teetime-col-2 (the MapPin/clubhouse row) under one shared margin-right:var(--tt-space-2) (6px) — correct for. */
/* Explicit user request: use the same 4px gap as Holes/Players here too, even though Figma's own source uses gap-1.5(6px) for this row specifically (see the comment above). */
.slot-outer-box .card-box-outer .teetime-col-2::before {
  margin-right: var(--tt-space-1);
}
.slot-outer-box .card-box-outer .tt-golfers::before,
.slot-outer-box .card-box-outer .teetime-col-hole::before {
  margin-right: var(--tt-space-1);
}
.slot-outer-box .card-box-outer .tt-golfers::before,
.slot-outer-box .card-box-outer .teetime-col-hole::before {
  background-color: var(--tt-text-muted);
}
.slot-outer-box .card-box-outer .teetime-col-2::before {
  width: 12px;
  height: 12px;
  background-color: var(--s, #1f6f4a);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.card-box-outer.tt-card-lottery .teetime-col-2::before,
.slot-outer-box .card-box-outer.tt-card-lottery .teetime-col-2::before,
.card-box-outer:has(button.bg-lottery) .teetime-col-2::before,
.slot-outer-box .card-box-outer:has(button.bg-lottery) .teetime-col-2::before {
  background-color: #4f5353 !important;
}
.slot-outer-box .card-box-outer .tt-golfers::before {
  width: 11px;
  height: 11px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
.slot-outer-box .card-box-outer .teetime-col-hole::before {
  width: 11px;
  height: 11px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
}
/* Root cause of "no space between cards": grid mode gets its inter-card gap from `#SlotBox.slot-outer-box{display:grid;gap:var(--tt-space-4)}` further up — list mode's. */
#SlotBox:not(.slot-outer-box) {
  display: flex;
  flex-direction: column;
  gap: var(--tt-space-4);
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--tt-space-5);
  row-gap: var(--tt-space-3);
  /* Vertical padding bumped past Figma's own literal py-3(12px) spec — 12px read as too thin/narrow in practice, matching the same kind of explicit deviation already made. */
  padding: var(--tt-space-5) var(--tt-space-5);
}
/* ROOT-CAUSE FIX: TeeTimeRow.tsx's real class list is literally "flex flex-wrap sm:flex-nowrap ..." (confirmed via the Figma Make source, not assumed) -- Tailwind's `sm:`. */
@media (min-width: 640px) {
  #SlotBox:not(.slot-outer-box) .card-box-outer .teetime {
    flex-wrap: nowrap;
  }
}
/* Card itself: TeeTimeRow.tsx uses a left accent stripe + tighter radius, not the top stripe shared with the grid-mode card treatment above. */
#SlotBox:not(.slot-outer-box) .card-box-outer {
  /* ROOT-CAUSE FIX (corrected twice): first attempt removed the `border-top: none !important` override entirely, assuming top would fall back to the shared base rule's plain. */
  border-top: 1px solid var(--tt-card-border) !important;
  border-left: 4px solid var(--s, #1f6f4a) !important;
  /* ROOT-CAUSE FIX ("tighter radius" mentioned in this rule's own comment above, never actually implemented until now): verified by connecting directly into the live Figma. */
  border-bottom-right-radius: var(--tt-radius-sm) !important;
  /* Explicit request (superseded below): top-left reduced 1px from its prior value (6px -> 5px). */
  border-top-left-radius: var(--tt-radius-sm) !important;
  border-bottom-left-radius: var(--tt-radius-sm) !important;
  clip-path: inset(0 round var(--tt-radius-sm));
}
/* Same lottery-card gray override as grid mode, re-applied for list mode's left stripe — same :has()-support caveat and same .tt-card-lottery class-based fix as the. */
#SlotBox:not(.slot-outer-box) .card-box-outer.tt-card-lottery,
#SlotBox:not(.slot-outer-box) .card-box-outer:has(button.bg-lottery) {
  border-left-color: #4f5353 !important;
}
/* Collapse each field's own label+<br>+value stack onto one line, and remove the shared `.card-box-outer .itembox` padding (line ~1032) now that the row itself carries. */
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime .itembox br {
  display: none;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime .itembox {
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  flex: 0 0 auto;
  text-align: left;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--tt-space-2);
  /* ROOT-CAUSE FIX: verified by connecting directly into the live Figma Make prototype (List view) and reading real getComputedStyle() on Time/Holes/Players/Resource-name. */
  line-height: 1.5;
}
/* Figma's TeeTimeRow shows icon+value only in its muted meta-info row (holes/golfers/clubhouse) — no text labels — matching the icon treatment already used in grid. */
#SlotBox:not(.slot-outer-box) .card-box-outer .tee-time-label,
#SlotBox:not(.slot-outer-box) .card-box-outer .tt-price-label,
#SlotBox:not(.slot-outer-box) .card-box-outer .resource-outer-label,
#SlotBox:not(.slot-outer-box) .card-box-outer .tt-golfers-label {
  display: none;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime-col-hole::before,
#SlotBox:not(.slot-outer-box) .card-box-outer .tt-golfers::before,
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime-col-2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: -1px;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime-col-hole::before,
#SlotBox:not(.slot-outer-box) .card-box-outer .tt-golfers::before {
  background-color: var(--s, #1f6f4a);
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime-col-2::before {
  background-color: var(--s, #1f6f4a);
}
#SlotBox:not(.slot-outer-box) .card-box-outer.tt-card-lottery .teetime-col-2::before,
#SlotBox:not(.slot-outer-box) .card-box-outer:has(button.bg-lottery) .teetime-col-2::before {
  background-color: #4f5353 !important;
}
/* ROOT-CAUSE FIX: verified by connecting directly into the live Figma Make prototype (List view) and reading real getComputedStyle() on the actual resource-name element. */
#SlotBox:not(.slot-outer-box) .card-box-outer .resource-label,
#SlotBox:not(.slot-outer-box) .card-box-outer .lotteryWaitList {
  display: inline !important;
  background-color: transparent !important;
  background-image: none;
  padding: 0 !important;
  border-radius: 0;
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-medium) !important;
  font-family: "Noto Sans", sans-serif;
  text-align: left;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .resource-label .holeName,
#SlotBox:not(.slot-outer-box) .card-box-outer .lotteryWaitList .holeName {
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-medium) !important;
  font-family: "Noto Sans", sans-serif;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .resource-label,
#SlotBox:not(.slot-outer-box) .card-box-outer .resource-label .holeName {
  color: var(--s, #1f6f4a) !important;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .lotteryWaitList,
#SlotBox:not(.slot-outer-box) .card-box-outer .lotteryWaitList .holeName {
  color: #4f5353 !important;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime-col-hole::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
}
#SlotBox:not(.slot-outer-box) .card-box-outer .tt-golfers::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime-col-2::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime .tt-label {
  order: 1;
  min-width: 64px;
  /* ROOT-CAUSE FIX: shared base rule declares font-size: var(--tt-text-base) (16px) for both grid and list mode, matching TeeTimeRow.tsx's own fontSize:"var(--text-base)". */
  font-size: 14px !important;
  /* ROOT-CAUSE FIX: verified by connecting directly into the live Figma Make prototype (List view) and reading real getComputedStyle() on the actual "07:00 AM" element. */
  font-family: "Noto Sans", sans-serif;
  /* Explicit request: List View Time text color set to #000000. */
  color: #000000 !important;
}
@media (min-width: 640px) {
  #SlotBox:not(.slot-outer-box) .card-box-outer .teetime .tt-label {
    min-width: 80px;
  }
}
/* Same root-cause fix as grid mode above, applied to list mode's own compound selector — list mode's own .tt-price is 16px/semibold (its real price IS shown. */
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime .itembox.tt-price.teetime-col-hole {
  order: 2;
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-normal) !important;
  font-family: "Noto Sans", sans-serif;
  /* ROOT-CAUSE FIX: per direct live-Figma observation, the muted meta-row text (Holes/Players) actually renders #8e8e93, not this file's static --tt-text-muted (#717182. */
  color: var(--tt-text-muted) !important;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime .tt-golfers {
  order: 3;
}
/* ROOT-CAUSE FIX (corrects a prior assumption, same reasoning as the Holes rule immediately above): font-weight was previously set to var(--tt-font-weight-medium)(500) on. */
#SlotBox:not(.slot-outer-box) .card-box-outer .golf-playercount {
  font-weight: var(--tt-font-weight-normal) !important;
  font-family: "Noto Sans", sans-serif;
  color: var(--tt-text-muted) !important;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime .teetime-col-2 {
  order: 4;
  flex: 1 1 140px;
  min-width: 0;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime .itembox.tt-price.teetime-col-4 {
  order: 5;
  margin-left: auto;
  text-align: right;
  /* Same static-source-vs-live-Figma font-size correction as Time above: TeeTimeRow.tsx's price also declares fontSize:"var(--text-base)" (this project's shared base rule. */
  font-size: 14px !important;
  /* Per explicit direction, matches list-mode Time's own font-weight exactly (var(--tt-font-weight-semibold), 600) rather than the explicit 700 grid mode's price rule uses. */
  font-weight: var(--tt-font-weight-semibold) !important;
  /* ROOT-CAUSE FIX: unlike grid mode's price (TeeTimeCard.tsx: className="text-primary", correctly green via its own color override above), list mode's price. */
  font-family: "Noto Sans", sans-serif;
  /* Explicit request: List View Price text color set to #000000. */
  color: #000000 !important;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .tt-price-range-suffix {
  display: none;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime .tt-btn {
  order: 6;
  padding: 0 !important;
}
#SlotBox:not(.slot-outer-box) .card-box-outer .teetime .tt-btn button {
  width: auto !important;
  min-width: 140px;
  padding-left: var(--tt-space-4) !important;
  padding-right: var(--tt-space-4) !important;
}
@media (max-width: 639px) {
  #SlotBox:not(.slot-outer-box) .card-box-outer .teetime .itembox.tt-price.teetime-col-4 {
    order: 2;
  }
  #SlotBox:not(.slot-outer-box) .card-box-outer .teetime .itembox.tt-price.teetime-col-hole {
    order: 3;
    flex-basis: 100%;
  }
  #SlotBox:not(.slot-outer-box) .card-box-outer .teetime .tt-golfers {
    order: 4;
  }
  #SlotBox:not(.slot-outer-box) .card-box-outer .teetime .teetime-col-2 {
    order: 5;
  }
  #SlotBox:not(.slot-outer-box) .card-box-outer .teetime .tt-btn {
    order: 6;
    flex-basis: 100%;
  }
  #SlotBox:not(.slot-outer-box) .card-box-outer .teetime .tt-btn button {
    width: 100% !important;
  }
}
/* CCD-1284: page-wide horizontal gutter, verified directly against BookingPage.tsx's own two width-constrained wrappers (its top body div, `className="max-w-[1280px]. */
/* CCD-1284 (later session): mobile scrolling behavior -- viewport-locked shell, matching tee_times.php's own proven #SlotBox pattern (see that file's. */
/* CCD-1284 (later session): "comment out mobile view custom scrolling css ... */
/* CCD-1284 (later session), REQUIRED BY the shell removal directly above. */
@media (max-width: 1169px) {
  html:has(.tt-booking-sidebar) {
    overflow-x: hidden;
  }
}
body:has(.tt-booking-sidebar) #main-content > .container-fluid {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--tt-space-5);
  padding-right: var(--tt-space-5);
}
@media (max-width: 1169px) {
  /* CCD-1284 (later session): was unconditional display:grid (the Round Setup/Order Summary column split) -- that split moved one level deeper onto the new. */
  body:has(.tt-booking-sidebar) #main-content > .container-fluid {
    display: flex;
    flex-direction: column;
/* CCD-1284 (later session): "comment out mobile view custom scrolling css ... */
    gap: var(--tt-space-5, 16px);
    margin-left: 0;
    margin-right: 0;
  }
}
@media (min-width: 1170px) {
  /* CCD-1284 (later session, desktop regression fix): restores the ORIGINAL desktop grid directly on .container-fluid, for TRUE desktop only (>=1170px, matching the. */
  body:has(.tt-booking-sidebar) #main-content > .container-fluid {
    display: grid;
    grid-template-columns: 1fr 320px;
    column-gap: 39px;
    row-gap: var(--tt-space-5, 24px);
  }
}
@media (min-width: 768px) {
  body:has(.tt-booking-sidebar) #main-content > .container-fluid {
    padding-left: var(--tt-space-6);
    padding-right: var(--tt-space-6);
  }
}
/* CCD-1284 (later session): the actual scroll pane -- everything below #login-bar (the message stack, Round Setup/Players&Rates form, Order Summary sidebar) lives inside. */
/* CCD-1284 (later session): "update mobile scrolling in booking_view.php -- entire page should scroll from header through Confirm Booking, not just the slot/content area.". */
@media (max-width: 1169px) {
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane {
    align-content: start;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--tt-space-5, 24px);
/* CCD-1284 (later session): "comment out mobile view custom scrolling css ... */
  }
}
@media (min-width: 1024px) and (max-width: 1169px) {
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane {
    grid-template-columns: 1fr 320px;
    column-gap: 39px;
  }
}
@media (min-width: 1170px) {
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane {
    display: contents;
  }
}
/* CCD-1284 (later session): reuses the SAME custom mobile scrollbar overlay #SlotBox/.tt-search-sidebar .menu already use (see setupCustomScrollbar() -- extracted into. */
/* CCD-1284 (later session): explicit follow-up -- "mobile tee time selected left side have gap ... */
/* CCD-1284 (later session): "comment out mobile view custom scrolling css ... */
body:has(.tt-booking-sidebar) #main-content > .container-fluid > #login-bar {
  flex-shrink: 0;
}
body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .row {
  min-width: 0;
}
body:has(.tt-booking-sidebar) #main-content > .container-fluid > #login-bar {
  grid-column: 1 / -1;
  /* CCD-1284: per explicit follow-up, the Login Header + "Tee time selected" hero must stay full page width, NOT constrained to the max-width:1280px/16-24px-gutter box just. */
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
}
/* CCD-1284 (later session): alignment fix -- Round Setup (inside .row) vs Order Summary (.tt-booking-sidebar's first content) desktop top-position mismatch when the. */
/* CCD-1284 (later session): "update mobile scrolling in booking_view.php -- scroll from header through Confirm Booking" moved .tt-booking-hero (Tee time selected / Total. */
@media (min-width: 1024px) and (max-width: 1169px) {
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .tt-booking-hero {
    grid-row: 1;
    grid-column: 1 / -1;
  }
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .tt-message-stack {
    grid-row: 2;
    grid-column: 1 / -1;
  }
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .row {
    grid-row: 3;
    grid-column: 1;
  }
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .tt-booking-sidebar {
    grid-row: 3;
    grid-column: 2;
  }
}
@media (min-width: 1170px) {
  /* CCD-1284 (later session, desktop regression fix): restores #login-bar as a genuine, direct grid item of .container-fluid for TRUE desktop only (>=1170px, matching the. */
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > #login-bar {
    grid-row: 1;
  }
  /* CCD-1284 (later session): .tt-booking-hero (moved here from #login-bar, see booking_view.php's own comment) deliberately SHARES grid-row:1 with #login-bar rather than. */
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .tt-booking-hero {
    grid-row: 1;
    grid-column: 1 / -1;
  }
  /* CCD-1284 (later session): explicit follow-up -- "tee time selected want full page row wise". */
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .tt-booking-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
  }
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .tt-message-stack {
    grid-row: 2;
    /* CCD-1284 (later session): per explicit request, this box (the Hold message, and #errorMessage alongside it) now spans the FULL grid width -- both the Round Setup/.row. */
    grid-column: 1 / -1;
  }
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .row {
    grid-row: 3;
    grid-column: 1;
  }
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .tt-booking-sidebar {
    grid-row: 3;
    grid-column: 2;
  }
}
/* CCD-1284 (later session): explicit follow-up, reported on a second system running this same branch -- "tee time selected section not closely attach to page from left. */
@media (max-width: 767px) {
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .tt-booking-hero {
    margin-left: calc(-1 * var(--tt-space-5, 16px));
  }
}
@media (min-width: 768px) and (max-width: 1169px) {
  body:has(.tt-booking-sidebar) #main-content > .container-fluid > .tt-booking-scroll-pane > .tt-booking-hero {
    margin-left: calc(-1 * var(--tt-space-6, 24px));
  }
}
/* CCD-1284 (later session): Hold message restyle -- an icon-in-circle notice box, restyled to a faint yellow/gold treatment per explicit request (dark-yellow icon. */
/* CCD-1284 (later session): padding widened (was --tt-space-3/--tt-space-4, 8px/12px) and the icon's own size/inset tuned down slightly, per explicit feedback that the. */
.tt-hold-message {
  display: flex;
  align-items: flex-start;
  gap: var(--tt-space-3);
  padding: 14px 16px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: var(--tt-radius-md);
  text-align: left;
}
/* CCD-1284 (later session): #errorMessage's own box, reusing .tt-hold- message's exact look per direct request. */
.tt-error-message-box:has(#errorMessage:empty) {
  display: none;
}
.tt-error-message-box {
  margin-top: var(--tt-space-3);
}
/* CCD-1284 (later session): per direct request (reference screenshot of a red/error + yellow/warning + blue/info notice family, one color per severity) -- api response. */
.tt-error-message-box {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
}
/* CCD-1284 (later session): color/background only -- size lives on the shared base rule below now (was a separate, larger override here; per a later direct request the. */
.tt-error-message-box .tt-hold-message__icon {
  background: var(--tt-danger, #d4183d);
  color: #ffffff;
}
/* CCD-1284 (later session): the round/circle yellow chip background removed from the warning (Hold message) icon -- now just the bare triangle glyph, colored, matching the. */
.tt-hold-message__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: var(--tt-radius-pill);
  color: #92400e;
}
.tt-hold-message__icon svg {
  width: 16px;
  height: 16px;
}
/* CCD-1284 (later session): root cause of the warning triangle reading visually smaller than the error icon DESPITE both having identical 24px containers and identical. */
.tt-hold-message:not(.tt-error-message-box) .tt-hold-message__icon svg {
  width: 22px;
  height: 22px;
}
/* CCD-1284: overrides .text-danger's color:...!important on the PARENT (#teeTimeHoldMessage keeps that class, unchanged, so nothing that already selects it by id or by. */
.tt-hold-message__body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--tt-space-2) var(--tt-space-4, 12px);
  width: 100%;
}
.tt-hold-message__text {
  color: #a94442;
}
/* CCD-1284 (later session): font-size/font-weight deliberately NOT set here (removed, same reasoning as .tt-hold-message__text above) -- the countdown badge was visibly. */
.tt-hold-message__timer {
  display: inline-flex;
  align-items: center;
  gap: var(--tt-space-2);
  white-space: nowrap;
}
.tt-hold-message__timer svg {
  flex: 0 0 auto;
}
/* CCD-1284 (phase 4): listing-page danger toast -- e.g. */
.notiFicationSection .ntf-notice.ntf-danger {
  position: relative;
  /* Same left edge as the StartTime / "Find your next round" content: the page inset is 24px (md:px-6) at 768px and wider and 16px (px-4) below -- the toast container itself. */
  margin: var(--tt-space-3) 0 var(--tt-space-3) var(--tt-space-5);
  /* Same height as the StartTime box (.tt-hold-message): 1px border + 14px padding + the 26px icon row (24px icon + its 2px top offset) + 14px padding + 1px border = 56px. */
  min-height: 56px;
  padding: 14px 48px 14px 52px; /* left: 16px inset + 24px icon + 12px gap; right: room for the close X */
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  border-radius: var(--tt-radius-md);
  box-shadow: none;
  color: var(--tt-danger, #d4183d);
  text-align: left;
  font-family: var(--tt-font-family);
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-normal);
  line-height: var(--tt-line-height);
}
.notiFicationSection .ntf-notice.ntf-danger:not(:first-child) {
  border-top: 1px solid #fecaca; /* the legacy rule draws a white dashed divider between stacked toasts */
}
@media (min-width: 768px) {
  .notiFicationSection .ntf-notice.ntf-danger {
    margin-left: var(--tt-space-6);
  }
}
.notiFicationSection .ntf-notice.ntf-danger::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px; /* 14px box padding + the icon's own 2px top offset, same as .tt-hold-message__icon */
  width: 24px;
  height: 24px;
  border-radius: var(--tt-radius-pill);
  background-color: var(--tt-danger, #d4183d);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  /* same glyph as the booking page's error icon: <path d="M12 16v-4"/><path d="M12 8h.01"/>, white, stroke 4 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}
.notiFicationSection .ntf-notice.ntf-danger .ntf-notice-close {
  color: var(--tt-danger, #d4183d);
  font-size: var(--tt-text-base);
  line-height: var(--tt-line-height);
  padding: 14px 16px;
}
/* CCD-1284: companion to the full-bleed rule above -- on a browser where the page's own vertical scrollbar is reserved from layout width (not overlay-style), 100vw. */
body:has(.tt-booking-sidebar) {
  overflow-x: hidden;
}
/* CCD-1284 (later session, corrected): redefines --tt-font-family for the booking page only. */
body:has(.tt-booking-sidebar) {
  --tt-font-family: "Noto Sans", sans-serif;
}
.tt-booking-sidebar {
  min-width: 0;
}
@media (min-width: 1024px) {
  .tt-booking-sidebar {
    position: sticky;
    /* CCD-1284 (later session): Figma's own aside is `lg:sticky lg:top-20 lg:self-start` -- top-20 = 80px, chosen there specifically to clear Figma's OWN sticky top bar. */
    top: calc(var(--tt-login-header-height, 0px) + 16px);
    align-self: start;
    width: 100%;
    /* Keeps the stuck card on its own layer so the browser moves that layer as a unit while scrolling instead of re-rasterising its edges each frame (the other half of the. */
    will-change: transform;
  }
}
.tt-booking-sidebar .menu {
  position: relative;
}
.tt-booking-sidebar .list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tt-booking-sidebar .list > li {
  margin: 0;
  padding: 0;
}
.tt-booking-sidebar,
.tt-booking-sidebar .menu,
.tt-booking-sidebar .card {
  background-color: var(--tt-card-bg) !important;
  color: var(--tt-text-body) !important;
  font-family: var(--tt-font-family);
}
/* CCD-1284 (typography audit, later session): this rule previously pinned the Order Summary sidebar to "Noto Sans" on the (unverified) claim that Figma's own source. */
.tt-booking-sidebar #OrderSummaryHeading,
.tt-booking-sidebar .tt-summary-table,
.tt-booking-sidebar .tt-summary-player-list,
.tt-booking-sidebar .tt-booking-sidebar-cta {
  font-family: var(--tt-font-family);
}
.tt-booking-sidebar .card {
  border-radius: var(--tt-radius-card);
  box-shadow: var(--tt-shadow-card) !important;
  /* CCD-1284 (later session): "when scrolling on the booking page, the bottom border of the Order Summary hides/removes; one system shows it, another doesn't." The border. */
  border: 1px solid #d1d1d1;
  /* border: 1px solid var(--tt-card-border); */
  overflow: hidden;
}
/* "Tee Time Information" / "Summary" section headers */
.tt-booking-sidebar .card .body > .form-group:first-child {
  margin-bottom: 0;
}
.tt-booking-sidebar .card .body > .form-group:first-child p {
  margin: 0;
  line-height: 0.6;
}
.tt-booking-sidebar .form-group.text-center {
  display: flex;
  align-items: center;
  gap: var(--tt-space-3);
  font-size: inherit !important;
  font-weight: var(--tt-font-weight-medium) !important;
  color: var(--tt-text-body) !important;
  text-align: left !important;
  padding: var(--tt-space-4) var(--tt-space-5);
  margin: 0 !important;
  border-bottom: 1px solid var(--tt-card-border);
}
.tt-booking-sidebar .form-group.text-center svg {
  color: var(--s, #1f6f4a);
  flex-shrink: 0;
}
/* CCD-1284 (later session): per direct request, "Order summary" now uses the EXACT same typography as Round setup's own title (.tt-step-title): same font-weight (inherited. */
.tt-booking-sidebar #OrderSummaryHeading {
  font-weight: var(--tt-font-weight-normal) !important;
  color: #242426 !important;
  line-height: var(--tt-line-height);
}
/* CCD-1284 (typography audit, corrected): an earlier pass in this same session added an explicit #OrderSummaryHeading font-size/line-height rule here, believing Figma's. */
.tt-booking-sidebar .tt-summary-table {
  width: 100%;
  margin: 0 0 var(--tt-space-2);
}
.tt-booking-sidebar .tt-summary-table > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tt-space-3);
}
.tt-booking-sidebar .tt-summary-table > div > div {
  border: none !important;
  padding: var(--tt-space-2) var(--tt-space-4) !important;
  /* CCD-1284 (typography audit): was a literal 14px, not a --tt-* token. */
  font-size: var(--tt-text-sm) !important;
  /* CCD-1284 (later session): explicit #242426 per direct request ("Order summary all text except Due at course"), in place of --tt-card-foreground. */
  color: var(--tt-text-body);
  background: transparent !important;
}
.tt-booking-sidebar .tt-summary-table > div > div:last-child {
  font-weight: var(--tt-font-weight-medium);
}
/* CCD-1284 (later session): "update order summary payable right side rate font-weight: 700 use related token" -- was --tt-font-weight-semibold(600). */
.tt-booking-sidebar .tt-summary-table > .tt-summary-row-emphasize > div:last-child {
  font-weight: var(--tt-font-weight-bold);
}
.tt-booking-sidebar .tt-summary-row-primary > div:last-child {
  color: var(--s, #1f6f4a);
}
/* CCD-1284 (later session): explicit 700 (root token) per direct request. */
.tt-booking-sidebar .tt-summary-table > .tt-summary-row-primary > div:last-child {
  font-weight: var(--tt-font-weight-bold);
}
.tt-booking-sidebar .tt-summary-row-primary {
  border-top: 1px solid var(--tt-card-border);
  margin-top: var(--tt-space-2);
  padding-top: var(--tt-space-2);
}
/* CCD-1284 (later session): color now matches the hero's "Total due now" LABEL exactly (.tt-booking-hero-total-label, booking_view.css -- var(--tt-text-muted)), per direct. */
.tt-booking-sidebar .tt-summary-row-muted > div {
  color: var(--tt-text-muted) !important;
  font-weight: var(--tt-font-weight-medium) !important;
}
/* CCD-1284 (later session): ROOT-CAUSE FIX for "Green fee/Taxes & online fees/Due at course values still show the course's secondary color even though this file's own. */
#GrandTotal,
#TaxTotalVal,
#TotalDueAtCourseVal,
#PayableTotal {
  color: var(--tt-text-body) !important;
}
.tt-booking-sidebar .tt-summary-split-breakdown {
  padding-top: 0;
}
.tt-booking-sidebar .form-group:has(> .tt-summary-table):not(.tt-summary-split-breakdown) {
  margin-bottom: 0;
}
.tt-booking-sidebar .form-group:has(> .tt-summary-table):not(.tt-summary-split-breakdown) > .tt-summary-table {
  margin-bottom: 0;
}
.tt-booking-sidebar .tt-summary-player-list {
  display: flex;
  flex-direction: column;
  gap: var(--tt-space-2);
  padding: 0 var(--tt-space-4) var(--tt-space-2);
}
.tt-booking-sidebar .tt-summary-player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tt-space-3);
  padding: var(--tt-space-2) var(--tt-space-3);
  border-radius: var(--tt-radius-button, 4px);
  background: var(--tt-hover-bg, #e9f6eb);
  font-size: var(--tt-text-sm);
}
.tt-booking-sidebar .tt-summary-player-label {
  display: inline-flex;
  align-items: center;
  gap: var(--tt-space-2);
  /* CCD-1284 (typography audit): was var(--s, #1f6f4a) -- the brand accent green. */
  /* CCD-1284 (later session): explicit #242426 per direct request ("Order summary all text except Due at course"), in place of --tt-card-foreground. */
  color: #242426;
  font-weight: var(--tt-font-weight-medium);
}
.tt-booking-sidebar .tt-summary-player-amount {
  color: #242426;
  /* CCD-1284 (typography audit): was --tt-font-weight-bold (700). */
  font-weight: var(--tt-font-weight-semibold);
}
.tt-booking-sidebar .btn.btn-block {
  border-radius: 4px !important;
  font-weight: var(--tt-font-weight-semibold);
}
.tt-booking-sidebar .form-group:has(.btn-block) {
  padding: 0 var(--tt-space-4);
}
.tt-booking-sidebar-cta {
  padding: var(--tt-space-5);
  border-top: 1px solid var(--tt-card-border);
}
.tt-booking-sidebar-cta .btn.btn-block {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: var(--tt-text-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--tt-space-2);
}
.tt-booking-sidebar-cta .btn.btn-block:hover {
  opacity: 0.9;
}
.tt-booking-sidebar-cta .btn.btn-block svg {
  flex-shrink: 0;
}
/* CCD-1284 (later session): rate-change loader spinner's new wrapper, per direct request that it move here (below the Order Summary card) and be centered both horizontally. */
.tt-order-summary-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-order-summary-loader:has(#loaderid:not(.hide)) {
  padding: var(--tt-space-5) 0;
}
/* "Complete your booking" top bar — matches BookingPage.tsx's sticky top bar exactly (shield icon + title left, Cancel right). */
.tt-booking-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tt-space-3);
  padding: var(--tt-space-3) var(--tt-space-5);
  border-bottom: 1px solid var(--tt-card-border);
  background: var(--tt-card-bg);
}
.tt-booking-topbar-title {
  display: flex;
  align-items: center;
  gap: var(--tt-space-2);
  font-size: var(--tt-text-base);
  font-weight: var(--tt-font-weight-semibold);
  color: var(--tt-text-body);
}
.tt-booking-topbar-title .fa {
  color: var(--s, #1f6f4a);
}
.tt-booking-cancel-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--tt-space-2);
  padding: var(--tt-space-2) var(--tt-space-3);
  border: 1px solid var(--tt-card-border);
  border-radius: var(--tt-radius-button);
  color: var(--tt-text-body);
  font-size: var(--tt-text-sm);
  text-decoration: none;
}
.tt-booking-cancel-btn:hover {
  background: var(--tt-surface-muted);
  text-decoration: none;
}
/* CCD-1284 (later session): background gradient's first stop, corrected TWICE. */
.tt-booking-hero {
  padding: 20px var(--tt-space-5);
  border-bottom: 1px solid var(--tt-card-border);
  /* CCD-1284 (later session): explicit follow-up -- "Tee time selected section update with primary color with same opacity/gradient/transparency". */
  background: linear-gradient(135deg, color-mix(in srgb, var(--p, var(--s, #1f6f4a)) 10%, white) 0%, var(--tt-card-bg, #ffffff) 75%);
}
@media (min-width: 768px) {
  .tt-booking-hero {
    padding-left: var(--tt-space-6);
    padding-right: var(--tt-space-6);
  }
}
/* CCD-1284 (later session): Figma's own hero is TWO nested elements -- `<section className="px-4 md:px-6 py-5 ...">` (padding only, no max-width -- matches. */
.tt-booking-hero-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: var(--tt-space-5);
}
@media (min-width: 768px) {
  .tt-booking-hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.tt-booking-hero-label {
  display: flex;
  align-items: center;
  gap: var(--tt-space-2);
  color: var(--p, var(--s, #1f6f4a));
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-medium);
  margin-bottom: var(--tt-space-1);
}
.tt-booking-hero-label svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.tt-booking-hero-title {
  color: var(--tt-text-body);
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.5;
  margin: 0;
}
.tt-booking-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  /* Figma: gap-3 = 12px (Tailwind's own scale, not this project's --tt- space-3 index — that token happens to hold 8px; matched by actual px value against. */
  gap: var(--tt-space-4);
  /* Figma: mt-1 = 4px, matches --tt-space-1 (was --tt-space-2/6px). */
  margin-top: var(--tt-space-1);
  color: var(--tt-text-muted);
  font-size: var(--tt-text-sm);
}
.tt-booking-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--tt-space-2);
}
.tt-booking-hero-meta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--p, var(--s, #1f6f4a));
}
/* Step-numbered cards (Round setup / Players & rates / Lottery times / Confirm) — matches BookingPage.tsx's StepCard: a numbered circle badge, title, card border, body. */
#BookingForm {
  counter-reset: tt-step;
}
.tt-step-card {
  border-radius: var(--tt-radius-card) !important;
  box-shadow: var(--tt-shadow-card) !important;
  border: 1px solid var(--tt-card-border) !important;
  background-color: var(--tt-card-bg) !important;
  overflow: hidden;
  margin-bottom: var(--tt-space-5) !important;
}
.tt-step-card > h1.panel-title,
.tt-step-card > h2.panel-title {
  display: flex !important;
  align-items: center;
  /* CCD-1284: was var(--tt-space-3)(8px). Figma's StepCard header is `<header className="flex items-center gap-3 px-4 md:px-5 py-3 ...">` wrapping the number badge +. */
  gap: var(--tt-space-4);
  background: var(--tt-card-bg) !important;
  color: var(--tt-text-body) !important;
  border-bottom: 1px solid var(--tt-card-border);
  border-left: none !important;
  padding: var(--tt-space-4) var(--tt-space-5) !important;
  margin: 0 !important;
  /* CCD-1284 (typography audit, corrected): a prior pass in this same session changed this to explicit var(--tt-text-lg)/var(--tt-font- weight-medium) (18px/500), on the. */
  font-size: inherit !important;
  font-weight: inherit !important;
  /* CCD-1284 (typography audit): font-size/font-weight are deliberately `inherit` (see the comment above, matching Figma's own h1-h6 reset) -- but nothing in this element's. */
  line-height: var(--tt-line-height);
  letter-spacing: normal;
  text-align: left !important;
}
.tt-step-card > h1.panel-title::before,
.tt-step-card > h2.panel-title::before {
  counter-increment: tt-step;
  content: counter(tt-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--tt-radius-button);
  background: var(--s, #1f6f4a);
  color: var(--tt-accent-ink);
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-semibold);
}
.tt-field-label {
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-medium);
  color: var(--tt-text-muted);
  margin-bottom: var(--tt-space-3);
  /* CCD-1284 (typography audit): same missing-line-height gap as the step heading above -- no rule in this element's chain ever set it. */
  line-height: var(--tt-line-height);
}
.tt-round-setup-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--tt-space-5) 32px;
}
.tt-round-setup-group {
  text-align: left;
}
/* Title/subtitle stack inside the h1/h2 headers that DO keep the numbered badge (Round setup / Players & rates) — Figma's StepCard shows a title with a smaller muted. */
.tt-step-title-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}
.tt-step-title {
  /* CCD-1284 (later session): was explicit #262628 per direct request, in place of --tt-text-body (#48484a) -- a darker, near-black color for the title text itself (Round. */
  color: var(--tt-text-body);
  line-height: var(--tt-line-height);
}
.tt-step-subtitle {
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-normal);
  color: var(--tt-text-muted);
  line-height: var(--tt-line-height);
}
.tt-step-card > .body {
  padding: var(--tt-space-5) !important;
}
/* Hole / player segmented buttons — shape/type only; which CLASS (bg-orange/bg-btncolor vs bg-light-blue/bg-logbar) booking.js toggles on click is existing behavior. */
#BookingForm .btn-group {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--tt-card-border);
  border-radius: var(--tt-radius-button);
  padding: 2px;
}
#BookingForm .hole-select,
#BookingForm .player-select {
  border-radius: 4px !important;
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-medium);
  /* CCD-1284 (typography audit): without this, these buttons inherited 1.42857143 from .btn (this file's own Bootstrap reproduction, ~line 324) instead of this project's own. */
  line-height: var(--tt-line-height);
  border: none !important;
  min-width: 40px;
  padding: var(--tt-space-2) var(--tt-space-4) !important;
}
@media (min-width: 768px) {
  #BookingForm .hole-select,
  #BookingForm .player-select {
    padding-left: var(--tt-space-5) !important;
    padding-right: var(--tt-space-5) !important;
  }
}
/* CCD-1284 (later session): color explicit #242426 per direct request, in place of --tt-text-muted (#717182) -- applies to the UNSELECTED state of the Holes (9/18 Holes). */
#BookingForm .hole-select.bg-logbar,
#BookingForm .player-select.bg-logbar {
  background-color: transparent !important;
  color: #242426 !important;
  font-weight: var(--tt-font-weight-normal) !important;
}
/* CCD-1284 (later session): per direct request, this hover now reflects a course's backend-configured secondary color (--s) when set, instead of always using the flat. */
#BookingForm .hole-select.bg-logbar:hover,
#BookingForm .player-select.bg-logbar:hover {
  background-color: color-mix(in srgb, var(--s, #1f6f4a) 10%, white) !important;
}
#BookingForm .playerRow {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  row-gap: var(--tt-space-3);
  gap: var(--tt-space-4) !important;
  width: 100% !important;
  border: 1px solid var(--tt-card-border) !important;
  border-radius: var(--tt-radius-button) !important;
  background: transparent !important;
  padding: var(--tt-space-4) !important;
  margin-bottom: var(--tt-space-3) !important;
}
#BookingForm .playerRow.row-hidden {
  display: none !important;
}
#BookingForm .playerRow > div {
  display: block;
  width: auto;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
/* CCD-1284 (typography audit, corrected): color was --tt-text-muted -- contradicts Figma's own source quoted in the comment just below (`text-foreground` for the player's. */
#BookingForm .playerRow .label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  white-space: nowrap;
  font-size: var(--tt-text-sm);
  /* CCD-1284 (later session): explicit #242426 per direct request, in place of --tt-text-body (#48484a). */
  font-weight: var(--tt-font-weight-medium);
  color: var(--tt-card-foreground);
  line-height: var(--tt-line-height);
}
/* Figma's <div class="min-w-0"><div class="text-foreground">Player 1</div> <div class="text-muted-foreground">(You)</div></div> — a name line stacked above the muted. */
#BookingForm .playerRow .tt-playerrow-name-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
/* CCD-1284 (typography audit, corrected): color was --tt-text-muted -- contradicts the Figma source quoted above this group (name = text- foreground, only "(You)" below it. */
#BookingForm .playerRow .tt-playerrow-name {
  font-size: var(--tt-text-sm);
  /* CCD-1284 (later session): same as .playerRow .label above -- stays on var(--tt-card-foreground); a Figma-sourced switch to var(--tt-text-body) was tried and reverted per. */
  font-weight: var(--tt-font-weight-medium);
  color: var(--tt-card-foreground);
  line-height: var(--tt-line-height);
}
#BookingForm .playerRow .tt-playerrow-you {
  font-size: var(--tt-text-sm);
  color: var(--tt-text-muted);
  line-height: var(--tt-line-height);
}
#Hole9RateList,
#Hole18RateList {
  counter-reset: tt-player;
}
#BookingForm .playerRow .label::before {
  counter-increment: tt-player;
  content: counter(tt-player);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--tt-radius-pill, 999px);
  background: var(--s, #1f6f4a);
  color: #fff;
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-semibold);
}
/* flex-shrink:1 (not 0) + a min-width — lets the badge/name column compress on a narrow viewport instead of forcing the whole row to overflow or wrap, while still. */
#BookingForm .playerRow > div:first-child {
  flex: 0 1 128px;
  min-width: 90px;
}
#BookingForm .playerRow > div:nth-child(2) {
  flex: 1 1 200px;
  min-width: 140px;
}
#BookingForm .playerRow > div:nth-child(3) {
  flex: 0 1 288px;
  min-width: 140px;
}
/* CCD-1284 (later session): explicit follow-up -- "rate and icon box should match size height, [top and bottom] alignment" (desktop/tablet >=700px tier -- the <700px. */
#BookingForm .playerRow > div:last-child {
  flex: 0 0 auto;
  /* align-self: stretch; -- CCD-1284 (later session): replaced by center, see the "icon vertically aligned with the rate box" note at #BookingForm .playerRow .rate. */
  align-self: center;
  /* flex, so the wrapper is exactly the button's 37px; as a plain block it was 38px (line-box gap under the flex child) and left the icon 0.5-1px off the select's top edge */
  display: flex;
}
/* CCD-1284 (later session): per direct request, fixes a responsive bug found via screenshot at 768px (Chrome DevTools' own "Tablet" preset) -- the info-button. */
@media (min-width: 700px) and (max-width: 899px) {
  #BookingForm .playerRow > div:nth-child(3) {
    flex: 0 1 185px;
    min-width: 185px;
  }
}
/* CCD-1284 (later session): per direct follow-up request/screenshot, the SAME class of bug reappears at 1024px -- but worse there (3 lines: name alone, notes alone. */
@media (min-width: 1024px) and (max-width: 1279px) {
  #BookingForm .playerRow > div:nth-child(2) {
    flex: 1 1 140px;
    min-width: 140px;
  }
  #BookingForm .playerRow > div:nth-child(3) {
    flex: 0 1 185px;
    min-width: 185px;
  }
}
/* CCD-1284 (later session): per direct follow-up audit request/screenshot at 320px -- the SAME root cause a third time, at the opposite (narrowest mobile) end of the. */
@media (max-width: 425px) {
  #BookingForm .playerRow > div:nth-child(3) {
    flex: 0 1 185px;
    min-width: 100% !important;
  }
}
/* CCD-1284: #BookingForm .lotterytime select.form-control merged into this shared rule (was a separate, slightly different-valued rule below. */
#BookingForm .bookingnotes_outer input,
#BookingForm .playerRow .rate,
#BookingForm .lotterytime select.form-control {
  box-sizing: border-box;
  width: 100% !important;
  background-color: transparent !important;
  color: var(--tt-text-body) !important;
  border: 1px solid var(--tt-card-border) !important;
  border-radius: 4px !important;
  font-size: var(--tt-text-sm) !important;
  /* CCD-1284 (typography audit): without this, these three controls inherited 1.42857143 from .form-control (this file's own Bootstrap reproduction, ~line 341, which itself. */
  line-height: var(--tt-line-height) !important;
  height: auto !important;
  padding: var(--tt-space-3) var(--tt-space-4) !important;
  outline: none;
}
#BookingForm .bookingnotes_outer input:focus,
#BookingForm .playerRow .rate:focus,
#BookingForm .lotterytime select.form-control:focus {
  border-color: var(--s, #1f6f4a) !important;
  outline: none;
}
/* CCD-1284 (later session): explicit #242426 per direct request, for the Players & rates rate select specifically -- both its own closed/ selected-value text and its. */
/* CCD-1284 (later session): color AND weight both switched to match the Order Summary sidebar's own regular-row typography (see the matching .playerRow .label comment. */
#BookingForm .playerRow .rate {
  color: var(--tt-card-foreground) !important;
  font-weight: var(--tt-font-weight-medium) !important;
  /* CCD-1284 (later session): "information icon vertically alignment with the selected rate box, currently slightly lengthy in height." The 37px square icon was sized to the. */
  height: 37px !important;
  /* CCD-1284 (later session): the icon box takes its corner radius from this same token (see #BookingForm .info-button), so the two can never drift apart. */
  border-radius: var(--tt-radius-button, 4px) !important;
}
#BookingForm .playerRow .rate option {
  color: var(--tt-card-foreground);
}
/* Rate-info trigger (.info-button) — sizes/rounds the icon without touching its own display value here (the display:none/block visibility toggle driven by. */
/* CCD-1284 (later session): "booking page players and rate section information icon box looks lengthy, height is larger, want square shape matching the rate box, also on. */
#BookingForm .info-button {
  width: 37px;
  height: 37px;
  margin: 0 !important; /* see the note above: legacy 1px top margin */
  /* was a literal 4px; same token as the rate select beside it */
  border-radius: var(--tt-radius-button, 4px) !important;
  align-items: center;
  justify-content: center;
}
#BookingForm .lotterytime label {
  color: var(--tt-text-muted);
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-medium);
  /* CCD-1284: matches .tt-field-label's own margin-bottom (the "Holes"/ "Players" labels in Round setup use that class directly; this label is a plain Bootstrap <label>, so. */
  margin-bottom: var(--tt-space-3);
  display: block;
  /* CCD-1284 (typography audit): same missing --tt-line-height gap as .tt-field-label above (this is the Lottery section's own equivalent label, a plain <label>, not that. */
  line-height: var(--tt-line-height);
}
/* Primary "Continue to Book/Request" button */
#BookingForm #book-btn {
  border-radius: 4px;
  font-size: var(--tt-text-sm);
  font-weight: var(--tt-font-weight-semibold);
  padding: var(--tt-space-3) var(--tt-space-5);
  transition: opacity 0.15s ease, background-color 0.15s ease;
  color: #fff !important;
}
#BookingForm #book-btn:hover:not(:disabled) {
  opacity: 0.9;
}
/* "Search for Tee Times" (booking_view.php's post-booking summary panel) — same missing-hover-feedback issue, same fix. */
.btn.btn-block.bg-orange.waves-effect.bg-btncolor:not(#abandon-btn) {
  font-size: 0.875rem;
  font-weight: var(--tt-font-weight-semibold);
  transition: opacity 0.15s ease;
}
.btn.btn-block.bg-orange.waves-effect.bg-btncolor:not(#abandon-btn):hover {
  opacity: 0.9;
}
/* Rate-info slide-out panel */
#sidebarNew {
  box-shadow: var(--tt-shadow-card);
  font-family: var(--tt-font-family);
}
#sidebarNew .popup-title {
  border-radius: 0;
}
.TeeTimePolicie {
  border-radius: var(--tt-radius-card) !important;
  box-shadow: var(--tt-shadow-card) !important;
  border: 1px solid var(--tt-card-border) !important;
  background-color: var(--tt-card-bg) !important;
  overflow: hidden;
}
.TeeTimePolicie .body {
  padding: var(--tt-space-5) !important;
}
.TeeTimePolicie .note-head {
  font-size: var(--tt-text-sm) !important;
  font-weight: var(--tt-font-weight-medium) !important;
  /* CCD-1284 (later session): explicit #3b3b3c per direct request (superseding an earlier #242426 change made the same session), in place of --tt-text-body (#48484a) -- the. */
  color: #3b3b3c !important;
  background: transparent !important;
  text-align: left !important;
  margin: 0 0 var(--tt-space-1) !important;
}
/* Payment page (payment_view.php) .PaymentCheckOutMethod, #PaymentForm, #CardPaymentBlock/#MembershipPayment Block/#VoucherPaymentBlock, #VoucherDiv/#VoucherApply, and. */
/* CCD-1284 (later session): !important added to all 4 properties per explicit follow-up ("export the border color/border style... */
.tt-payment-sidebar .card,
.tt-payment-page .card {
  border-radius: var(--tt-radius-card) !important;
  box-shadow: var(--tt-shadow-card) !important;
  border: 1px solid var(--tt-card-border) !important;
  overflow: hidden;
  margin-bottom: var(--tt-space-5) !important;
}
/* CCD-1284 (later session): ROOT-CAUSE FIX -- narrowed to .bg-logbar (a class ONLY the CHECKOUT heading carries, `class="bg-dark-blue text-center panel-title bg-logbar"`). */
.tt-payment-page .panel-title.bg-logbar {
  background: var(--tt-card-bg) !important;
  color: var(--tt-text-body) !important;
  font-size: var(--tt-text-lg) !important;
  font-weight: var(--tt-font-weight-semibold) !important;
  letter-spacing: 0.02em;
}
/* Payment method tabs — shape/spacing only; active/inactive color classes (bg-orange vs btn-default) and the tab-switch JS are untouched. */
.tt-payment-page .PaymentCheckOutMethod .btn {
  border-radius: var(--tt-radius-button) !important;
  font-weight: var(--tt-font-weight-medium);
}
/* Payment method blocks (card / membership / voucher) — container-level spacing polish only; internal form fields come from shared partials (wallets_view. */
.tt-payment-page #CardPaymentBlock,
.tt-payment-page #MembershipPaymentBlock,
.tt-payment-page #VoucherPaymentBlock {
  padding-top: var(--tt-space-3);
}
/* Voucher search/apply — radius on the existing flex layout (already added to this page's own <style> block previously); shape only. */
.tt-payment-sidebar #VoucherNumber,
.tt-payment-sidebar #AppliedAmount {
  border-radius: var(--tt-radius-button);
}
.tt-payment-sidebar #VoucherSearchButton,
.tt-payment-sidebar #VoucherApplyButton {
  border-radius: var(--tt-radius-pill);
}
/* Primary submit button ("MAKE PAYMENT" / "Confirm Reservation") */
.tt-payment-page .payment-btn {
  border-radius: var(--tt-radius-button);
  font-weight: var(--tt-font-weight-semibold);
  padding: var(--tt-space-3) var(--tt-space-5);
}
/* Relocated from tee_times.php's own inline <style> blocks (its head section) -- CCD-1284 (later session): explicit follow-up, "replace inline css to related global css. */
.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}
a.sr-only{color:#000;background:#fff}
.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;background:#fff;color:#000;padding:8px 16px;z-index:9999;display:block;text-decoration:none}
#SelectResourceSec.course-name-bar {
    min-height: 40px;
    line-height: 30px;
    font-weight: var(--tt-font-weight-semibold, 600);
    position: relative;
    /* ROOT-CAUSE FIX: this -30px bleed was meant to visually extend the bar's background flush with the sidebar, but it never actually painted there -- #main-content's own. */
    width: 100%;
    margin: 0 0 15px 0;
    /* ROOT-CAUSE FIX (follow-up): this and Course Name / Tee Time Slots were each landing at a different left inset (345/330/315px from the viewport) instead of one shared. */
    padding: 20px 24px 6px 24px;
    /* ROOT-CAUSE FIX: this gradient's first stop used the static --tt-hover-bg token (fixed #e9f6eb regardless of course config), so it never re-tinted when a course's. */
    /* CCD-1284 (later session): explicit follow-up -- "Find your next round section want primary color background with same transparency or gradient". */
    background: linear-gradient(135deg, color-mix(in srgb, var(--p, var(--s, #1f6f4a)) 10%, white) 0%, var(--tt-card-bg, #ffffff) 75%) !important;
    border: none;
    border-bottom: 1px solid var(--tt-card-border, rgba(0,0,0,0.18));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content:space-between;
    gap: var(--tt-space-4, 12px);
}
#SelectResourceSec.course-name-bar .text-white {
    color: var(--tt-text-body, #030213) !important;
}
#SelectResourceSec.course-name-bar .course-name {
    order: 1;
    text-align: left;
}
.tt-hero-heading {
    font-size: var(--tt-text-base, 1rem);
    font-weight: var(--tt-font-weight-normal, 400);
    margin: 0;
    line-height: 1.5;
    color: inherit;
    /* ROOT-CAUSE FIX: verified via live Figma Make connection -- this heading renders "Noto Sans", which the page already loads (see this file's <head>) for the tee-time-card. */
    font-family: "Noto Sans", sans-serif;
}
#SelectResourceSec.course-name-bar .course-name .tt-hero-summary {
    justify-content: flex-start;
}
#SelectResourceSec.course-name-bar .list-grid-view-outer {
    order: 2;
}
#SelectResourceSec.course-name-bar .resource-outer {
    order: 3;
}
.chooseResources-label {
    font-size: var(--tt-text-base, 1rem);
    font-weight: var(--tt-font-weight-normal, 400);
    line-height: 1.5;
}
.d-flex {
    display: flex;
}
.chooseResources{
    justify-content: center;
    align-items: center;
}
.ResourceBtn{
    background-color: var(--tt-card-bg, #ffffff);
    border: 2px solid var(--tt-card-border, rgba(0,0,0,0.18));
    border-radius: var(--tt-radius-button, 0.25rem);
    justify-content: center;
    align-items: center;
    /* Same root-cause fix as .lg-btn (Grid/List toggle): verified live against Figma, inactive-state text renders --tt-card-foreground (#3c3c3e) + Noto Sans, not. */
    color: var(--tt-card-foreground, #3c3c3e);
    font-family: "Noto Sans", sans-serif;
    padding: 6px 10px;
    margin: 1px 5px 1px 0px;
    min-width: 75px;
    font-size: var(--tt-text-sm, 12px);
    font-weight: var(--tt-font-weight-medium, 500);
    line-height: 1.5;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}
/* ROOT-CAUSE FIX: same selected-state pattern as .bg-orange (confirmed secondary color via release's own assets/css/style.css:1952 rule) — this toggle group's active. */
.ResourceBtn.ResourceActive{
    /* CCD-1284 (later session): explicit follow-up -- "Find your next round section resource box and grid/list selected or active button background color primary". */
    background-color: var(--p, var(--s, #1f6f4a)) !important;
    border-color: var(--p, var(--s, #1f6f4a)) !important;
    color: #fff !important;
    font-weight: var(--tt-font-weight-semibold, 600);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.ResourceBtn:not(.ResourceActive):hover{
    /* CCD-1284 (later session): explicit follow-up -- "resource box and grid/list hover effect want primary color with same opacity" -- see #SelectResourceSec. */
    background-color: color-mix(in srgb, var(--p, var(--s, #1f6f4a)) 10%, white) !important;
    border-color: var(--tt-card-border, rgba(0,0,0,0.18)) !important;
    opacity: 1 !important;
}
/* Same reasoning as the Grid/List toggle's active+hover fix: common_css.php's opacity:0.8 has no active-state exclusion, so it was dimming the SELECTED resource button on. */
/* CCD-1284 (later session): no hover effect on the SELECTED resource button -- see #SelectResourceSec .lg-btn.active-lg-btn:hover for the full note. */
.ResourceBtn.ResourceActive:hover{
    background-color: var(--p, var(--s, #1f6f4a)) !important;
    border-color: var(--p, var(--s, #1f6f4a)) !important;
    opacity: 1 !important;
}
/* Resource button group — same shared-container pattern as .list-grid-view-outer/.lg-btn (Grid/List toggle): one outer box carries the border/background/radius/padding. */
.resource-btn-group {
    display: inline-flex;
    align-items: center;
    background-color: var(--tt-card-bg, #ffffff) !important;
    border: 1px solid var(--tt-card-border, rgba(0,0,0,0.18));
    border-radius: var(--tt-radius-button, 0.25rem);
    padding: 2px;
    margin: 1px 5px 1px 0px;
}
.resource-btn-group .ResourceBtn {
    border: none;
    border-radius: var(--tt-radius-button, 0.25rem);
    margin: 0;
    box-shadow: none;
}
.resource-btn-group .ResourceBtn.ResourceActive {
    box-shadow: none;
}
.resource-btn-group .ResourceBtn:not(.ResourceActive):hover {
    border-color: transparent !important;
}
@media all and (max-width:768px){
    .course-name-bar{
        flex-direction: column;
        height: auto;
        padding: 0px 0px 10px 0px;
    }
    #SelectResourceSec.course-name-bar{
        align-items: flex-start;
        padding-left: 16px;
        /* The desktop rule also bleeds this box 30px wider and 30px left (width:calc(100% + 30px); margin-left:-30px) so the 69px padding can pull content back in to align with. */
        width: 100%;
        margin-left: 0;
    }
    .chooseResources{
        position:inherit;
        justify-content: flex-start;
    }
}
@media all and (max-width:600px){
    .chooseResources{
        flex-wrap:wrap;
        gap: var(--tt-space-3, 8px);
    }
    .ResourceBtn{
        margin-bottom:2px;
    }
    .resource-btn-group{
        flex-wrap:wrap;
        margin-bottom:2px;
    }
}
@media all and (min-width:769px) and (max-width:1400px){
    .course-name-bar{
        justify-content: space-between;
    }
    .chooseResources{
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        row-gap: var(--tt-space-3, 8px);
        column-gap: var(--tt-space-2, 6px);
        justify-content: start;
        white-space: nowrap;
    }
    .chooseResources-label{
        grid-column: 1;
        grid-row: 1;
    }
    .resource-btn-group{
        grid-column: 2;
        grid-row: 1;
    }
    .list-grid-view-outer{
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }
}
/* ROOT-CAUSE FIX (CCD-1284): the Grid/List toggle's horizontal position depends on which course-level Resource Selection setting is in effect, because there are actually. */
#SelectResourceSec.course-name-bar .course-name {
    flex: 1 1 0%;
    min-width: 0;
}
#SelectResourceSec.tt-hero-section {
    width: calc(100% - 30px);
    margin: 0 auto 15px;
    padding: 16px 15px;
    background: linear-gradient(135deg, #e9f6eb 0%, var(--tt-card-bg, #ffffff) 75%);
    border: 1px solid var(--tt-card-border, rgba(0,0,0,0.18));
    border-radius: var(--tt-radius-md, 8px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--tt-space-4, 12px);
    flex-wrap: wrap;
}
.tt-hero-left {
    min-width: 0;
}
.tt-hero-title {
    font-size: var(--tt-text-2xl, 1.5rem);
    font-weight: var(--tt-font-weight-medium, 500);
    line-height: 1.5;
    color: var(--tt-text-body, #030213);
    margin: 0;
}
.tt-hero-right {
    display: flex;
    align-items: center;
    gap: var(--tt-space-3, 8px);
    flex-wrap: wrap;
}
.tt-toggle-group {
    display: inline-flex;
    align-items: center;
    background: var(--tt-surface-muted, #ececf0);
    border-radius: var(--tt-radius-button, 4px);
    padding: 2px;
    gap: 2px;
}
.tt-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: var(--tt-text-body, #030213);
    padding: 6px 12px;
    border-radius: var(--tt-radius-button, 4px);
    font-size: var(--tt-text-sm, 14px);
    font-weight: var(--tt-font-weight-medium, 500);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.tt-toggle-btn:hover:not(.tt-toggle-active) {
    background: var(--tt-card-bg, #ffffff);
}
.tt-toggle-btn.tt-toggle-active {
    background: #1f6f4a;
    color: #fff;
}
#SelectResourceSec.tt-hero-section .text-white {
    color: var(--tt-text-body, #030213) !important;
}
.d-flex {
    display: flex;
}
@media all and (max-width:768px){
    .tt-hero-section{
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 0px 0px 10px 0px;
    }
}
.dtp{
    z-index: 999999999;
}
.dtp .dtp-content {
    border-radius: var(--tt-radius-card, 12px);
    overflow: hidden;
    box-shadow: var(--tt-shadow-card, 0 0 8px rgba(0,0,0,0.15));
}
.dtp .dtp-content .dtp-date-view header.dtp-header{
    background-color: var(--tt-accent, #03853e);
    color: #fff;
    margin-bottom: -1px;
}
.dtp .dtp-content .dtp-date-view .dtp-date{
    background-color: var(--tt-accent, #03853e);
    color: #fff;
}
.dtp table.dtp-picker-days tr > td > span.dtp-select-day {
    color: var(--tt-text-muted, #757575) !important;
    font-size: var(--tt-text-sm, 14px);
}
.dtp table.dtp-picker-days tr td a,
.dtp table.dtp-picker-days tr td button {
    border-radius: var(--tt-radius-pill, 999px);
    font-size: var(--tt-text-sm, 14px);
}
.dtp table.dtp-picker-days tr td a.selected,
.dtp table.dtp-picker-days tr td button.selected {
    background-color: var(--tt-accent, #03853e);
    color: #fff !important;
    border-radius: var(--tt-radius-pill, 999px);
}
.alert-danger{
    background: linear-gradient(#D32F2F);
}
@media (max-width: 1170px) and (min-width: 768px) {
.ls-closed .bars:after, .ls-closed .bars:before {
    top: 30px !important;
    }
}
/* Relocated from slots_view.php's own inline <style> block -- CCD-1284 (later session): explicit follow-up, "replace inline css to related global css file". */
/* ROOT-CAUSE FIX: all five rules below share the same selected/CTA state (bg-btncolor / bg-orange / btn-block) that release's own .bg-orange rule. */
.resource-label.bg-btncolor .holeName {
    background-color: var(--s, #1f6f4a) !important;
    background-image: none;
}
.slot-outer-box .teetime .itembox.tt-btn button.bg-orange{
    text-align: center;
    background-color: var(--s, #1f6f4a) !important;
    background-image: none;
    color: #fff;
}
.btn-group.filter-button .btn.bg-orange{
  background-color: var(--p, var(--s, #1f6f4a)) !important;
  background-image: none;
  color: #fff;
}
.demo-button-groups.col-xs-12 .btn.btn-block{
  background-color: var(--s, #1f6f4a) !important;
  background-image: none;
  color: #fff;
}
.teetime .itembox.tt-btn button.bg-orange {
    background-color: var(--s, #1f6f4a) !important;
    background-image: none;
    color: #fff;
}
/* CCD-1284 (later session): "teetime/slots_view.php, teetime/tee_times.php -- if top or bottom banner is set, the banner should scroll; scrolling should start from the top. */
@media (min-width: 1170px) {
  body.tt-has-banner:has(.tt-search-sidebar) #TeeTimesScrollRegion {
    display: block;
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  body.tt-has-banner:has(.tt-search-sidebar) #TeeTimesScrollRegion #SlotBox {
    /* its col-sm-12/col-md-12/col-lg-12 classes float it left; harmless as a flex item, but in this block region a floated #SlotBox is out of flow and the bottom banner slides. */
    float: none;
    flex: none;
    min-height: auto;
    overflow-y: visible;
    overflow-x: visible;
  }
}
#TeeTimesScrollRegion {
  display: contents;
}
/* CCD-1284 (later session): "teetime/slots_view.php, teetime/tee_times.php: Grid/List and the Login/Register or Sign out box want the same vertical alignment from the. */
@media (min-width: 769px) {
  body:has(.tt-search-sidebar) #SelectResourceSec.course-name-bar {
    padding-right: 15px;
  }
  body:has(.tt-search-sidebar) #SelectResourceSec.course-name-bar .resource-outer:not(:has(*)) {
    display: none;
  }
}
