/* GreenDate identity: sea green, shared by cabinet and public booking. */
:root {
  --gd-primary: #028070;
  --gd-primary-hover: #036859;
  --gd-accent: #51b8b4;
  --gd-bg: #12151f;
  --gd-surface: #1b2230;
  --gd-border: #3a4658;
  --gd-text: #edf1f7;
  --gd-muted: #b2bbca;
  --premium-teal: var(--gd-accent);
  --premium-violet: var(--gd-accent);
  --vt-purple: var(--gd-primary);
  --vt-green: var(--gd-accent);
  accent-color: var(--gd-primary);
}
button:not(.secondary):not(.danger):not(.vt-switch):not([aria-pressed]):not(.vt-step-trigger):not(.vt-demo-close):not(.vt-select-booking):not(.slot):not(.vt-variant-card):not(.vt-step-option):not(.vt-time-step-option) {
  background-color: var(--gd-primary);
  color: #fff;
}
#loginForm button[type="submit"], #registerForm button[type="submit"],
#submit, #again, .vt-upload-photo {
  background: var(--gd-primary) !important;
  color: #fff !important;
  border-color: var(--gd-primary) !important;
}
#loginForm button[type="submit"]:hover, #registerForm button[type="submit"]:hover,
#submit:hover, #again:hover, .vt-upload-photo:hover {
  background: var(--gd-primary-hover) !important;
}
.vt-segment button[aria-pressed="true"],
.vt-segment button[aria-pressed=true],
.vt-schedule-modes button[aria-pressed="true"],
.vt-step-options button[aria-pressed="true"],
.slot.selected, .vt-variant-card.selected,
.flatpickr-calendar .flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.startRange,
.flatpickr-calendar .flatpickr-day.endRange {
  background: var(--gd-primary) !important;
  border-color: var(--gd-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
}
header .vt-header-stat strong {color: var(--gd-accent) !important}
:focus-visible {outline-color: var(--gd-accent) !important}
input[type="checkbox"],input[type="radio"] {accent-color: var(--gd-primary)}
#days .vt-switch[aria-checked="true"],
#days .vt-switch[aria-pressed="true"],
.vt-demo-toggle:checked + .vt-demo-toggle-track,
.vt-staff-policy-switch > input:checked + .vt-staff-policy-track {
  background: var(--gd-primary) !important;
  border-color: var(--gd-accent) !important;
}
[data-theme="day"] {
  --gd-accent: #036859;
}
[data-theme="day"] header .vt-header-stat strong {color: #036859 !important}
#cabinetStats.hidden {display: none !important}

/* Neutral canvas: sea wave is an accent, never a wash over all surfaces. */
html:not([data-theme="day"]) {background:#12151f!important;color:#edf1f7!important}
html:not([data-theme="day"]) body {background:#12151f!important}
html:not([data-theme="day"]) .panel {background:#1b2230!important;border-color:#354154!important}
html:not([data-theme="day"]) .vt-segment {background:#141b27!important;border-color:#3c4659!important}
html:not([data-theme="day"]) input:not([type="checkbox"]):not([type="radio"]),
html:not([data-theme="day"]) select,html:not([data-theme="day"]) textarea {background-color:#131b28!important;border-color:#46546a!important;color:#edf1f7!important}
html[data-theme="day"] {background:#f6f8fb!important;color:#24344d!important}
html[data-theme="day"] body {background:#f6f8fb!important}
html[data-theme="day"] .panel {background:#fff!important;border-color:#dbe3ed!important}
html[data-theme="day"] p,html[data-theme="day"] .muted {color:#5e6b7e}

/* Match the existing theme selectors without tinting neutral surfaces. */
html[data-theme="night"] #workspace .vt-segment button[aria-pressed="true"],
html[data-theme="night"] #workspace .vt-segment button[aria-pressed=true]{
  background:#173a3c!important;color:#dcf5f0!important;border-color:#51b8b4!important;
}
html[data-theme="day"] #workspace .vt-segment button[aria-pressed="true"],
html[data-theme="day"] #workspace .vt-segment button[aria-pressed=true] {
  background:#e7f5f3!important;color:#036859!important;border-color:#028070!important;
}
html[data-theme] header #headerTariffName {color:var(--gd-accent)!important}
html[data-theme] #ownerPortrait.vt-portrait-thumb {border-color:var(--gd-accent)!important}

/* GreenDate: sea green is primary; restrained violet is secondary. */
:root {
 --gd-secondary:#a77ae5;
 --premium-violet:var(--gd-secondary);
 --vt-purple:var(--gd-secondary);
}
html[data-theme] header #headerTariffName {color:#c8afea!important}
html[data-theme="day"] header #headerTariffName {color:#735590!important}
:focus-visible {outline-color:var(--gd-secondary)!important}
