.epv-theme-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  margin: 8px 0;
}

.epv-theme-selector .epv-theme-option {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0 !important;
  border: 1px solid #111 !important;
  border-radius: 6px;
  background: transparent !important;
  color: #111 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.epv-theme-selector .epv-theme-option svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

.epv-theme-selector .epv-theme-option:is(:hover, [aria-pressed="true"]) {
  border-color: #20584e !important;
  color: #20584e !important;
}

.epv-theme-selector .epv-theme-option:focus-visible {
  border-color: #20584e !important;
  color: #20584e !important;
  outline: 2px solid #20584e !important;
  outline-offset: 2px;
}

.epv-theme-selector .epv-theme-option::before,
.epv-theme-selector .epv-theme-option::after {
  content: none !important;
  background: transparent !important;
}

html[data-ui-theme="dark"] {
  color-scheme: dark;
  --bg: #000;
  --ink: #fff;
  --muted: rgb(255 255 255 / 72%);
  --line: rgb(255 255 255 / 32%);
  --ep-surface: #000;
  --ep-surface-subtle: #000;
  --ep-soft: #000;
  --ep-line-strong: rgb(255 255 255 / 45%);
  --ep-copy: #fff;
  --ep-copy-muted: rgb(255 255 255 / 72%);
  --bs-body-bg: #000;
  --bs-body-color: #fff;
  --bs-secondary-color: rgb(255 255 255 / 72%);
  --bs-border-color: rgb(255 255 255 / 32%);
  --bs-tertiary-bg: #000;
  --ep: #20584e !important;
  --ep-dark: #20584e !important;
  --brand: #20584e !important;
  --accent: #20584e !important;
  --primary: #20584e !important;
  --primary-darken: #20584e !important;
  --tblr-primary: #20584e !important;
}

html[data-ui-theme="dark"] :is(
  .studio-app,
  .public-site,
  .support-site,
  .auth-shell,
  .auth-page,
  .central-login-page,
  .live-access-restriction,
  .delivery-room-site,
  .client-gallery-detail-page,
  .public-delivery-gallery,
  .public-delivery-content,
  .purchase-history-page
) {
  --bg: #000;
  --paper: #000;
  --surface: #000;
  --surface-2: #000;
  --soft: #000;
  --ink: #fff;
  --muted: rgb(255 255 255 / 74%);
  --line: rgb(255 255 255 / 32%);
  --ep: #20584e !important;
  --ep-dark: #20584e !important;
  --ep-soft: #000;
  --epv-primary: #20584e !important;
  --epv-secondary: #fff;
  --primary: #20584e !important;
  --primary-lt: #000;
  --primary-200: #000;
  --link-color: #fff;
  --link-hover-color: #fff;
  --tblr-primary: #20584e !important;
  --tblr-link-color: #fff;
  --tblr-link-hover-color: #fff;
  --tblr-body-bg: #000;
  --tblr-body-color: #fff;
  --bs-body-bg: #000;
  --bs-body-color: #fff;
  --bs-secondary-color: rgb(255 255 255 / 74%);
  --bs-border-color: rgb(255 255 255 / 32%);
  --bs-tertiary-bg: #000;
  --ep-surface: #000;
  --ep-surface-subtle: #000;
  --ep-line-strong: rgb(255 255 255 / 45%);
  --ep-copy: #fff;
  --ep-copy-muted: rgb(255 255 255 / 74%);
  --ep-shadow-card: none;
  --season-surface: #000;
  --season-ink: #fff;
  --season-muted: rgb(255 255 255 / 74%);
  --ep: #20584e !important;
  --ep-dark: #20584e !important;
  --brand: #20584e !important;
  --accent: #20584e !important;
  --primary: #20584e !important;
  --primary-darken: #20584e !important;
  --tblr-primary: #20584e !important;
}

html[data-ui-theme="dark"] .epv-theme-selector .epv-theme-option {
  border-color: #fff !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] .epv-theme-selector .epv-theme-option:is(
  :hover,
  [aria-pressed="true"],
  :focus-visible
) {
  border-color: #20584e !important;
  color: #20584e !important;
}

html[data-ui-theme="dark"] .epv-theme-selector .epv-theme-option:focus-visible {
  outline-color: #20584e !important;
}

html[data-ui-theme="dark"] body,
html[data-ui-theme="dark"] #root,
html[data-ui-theme="dark"] :is(
  .studio-app,
  .app-body,
  .workspace-content,
  .public-site,
  .public-content,
  .shared-header,
  .app-footer,
  .site-footer,
  .profile-popover,
  .workspace-navigation,
  .mobile-navigation-modal .modal-panel,
  .mobile-bottom-navigation
) {
  background-color: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.shared-header, .app-footer, .site-footer, .profile-popover, .workspace-navigation, .mobile-bottom-navigation) {
  border-color: rgb(255 255 255 / 32%) !important;
}

html[data-ui-theme="dark"] .studio-app .workspace-content :is(
  .card:not(.teammate),
  .portal-card,
  .resource-card,
  .table-card,
  .account-profile-card,
  .settings-card,
  .payment-history-card,
  .invoice-card,
  .benefit-card,
  .print-workspace-card,
  .saved-payments,
  .saved-card,
  .payment-form-card,
  .payment-summary,
  .collect-payment-option,
  .overview-system-status,
  .booking-payment-log,
  .booking-payment-balances > div,
  .pricing-shop-dropdown,
  .price-row-editable,
  .purchase-history-tools,
  .purchase-history-empty,
  .edit-source,
  .edit-library-file,
  .edit-assignment-card,
  .edit-work-stat,
  .table-toolbar,
  .section-head,
  .pagination-bar,
  .empty-state,
  .empty-symbol,
  .date-chip
),
html[data-ui-theme="dark"] .public-site .public-content .card,
html[data-ui-theme="dark"] :is(.profile-popover, .workspace-navigation, .mobile-navigation-modal .modal-panel, .modal-panel) {
  border-color: rgb(255 255 255 / 32%) !important;
  background-color: #000 !important;
  color: #fff !important;
  box-shadow: none;
}

html[data-ui-theme="dark"] .studio-app .workspace-content :is(
  .bg-white,
  .bg-light,
  .bg-body,
  .bg-body-tertiary,
  .table th,
  .table thead,
  .table-striped > tbody > tr:nth-of-type(odd) > *,
  .notification-row:hover,
  .upcoming-sessions .session-row:hover
) {
  background-color: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] .studio-app :is(
  .shared-header,
  .workspace-content,
  .profile-popover,
  .workspace-navigation,
  .modal-panel,
  .modal-panel > header,
  .modal-panel .modal-body,
  .modal-panel .modal-footer,
  .modal-panel .notification-center,
  .modal-panel .notification-center-list,
  .modal-panel .notification-row
) {
  border-color: rgb(255 255 255 / 32%);
  color: #fff;
}

html[data-ui-theme="dark"] .studio-app .workspace-content :is(
  input:not([type="checkbox"]):not([type="radio"]),
  textarea,
  select,
  .form-control,
  .form-select
) {
  border-color: rgb(255 255 255 / 55%) !important;
  background-color: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] .studio-app .workspace-content :is(input, textarea, select)::placeholder {
  color: rgb(255 255 255 / 66%) !important;
  opacity: 1;
}

html[data-ui-theme="dark"] :is(.studio-app, .public-site) :is(
  h1, h2, h3, h4, h5, strong, .page-heading, .section-head, .text-dark, .text-body, .link-dark
) {
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.studio-app, .public-site) :is(
  p, small, label, dt, .text-muted, .page-heading p, .section-head p, .help-note, .empty-state p
) {
  color: rgb(255 255 255 / 74%) !important;
}

html[data-ui-theme="dark"] .studio-app .workspace-content :is(.btn-outline-primary, .btn-outline-secondary),
html[data-ui-theme="dark"] .purchase-history-page :is(button, input, summary) {
  border-color: rgb(255 255 255 / 55%) !important;
  background-color: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] .studio-app .workspace-content :is(.btn-primary, .btn-blue, .btn-azure, .btn-info) {
  border-color: #20584e !important;
  background-color: #20584e !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.delivery-room-site, .client-gallery-detail-page, .public-delivery-gallery, .public-delivery-content) {
  --bg: #000;
  --surface: #000;
  --surface-2: #000;
  --border: rgb(255 255 255 / 42%);
  --text: #fff;
  --text-muted: rgb(255 255 255 / 74%);
  color-scheme: dark;
  background: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] .client-portal .workspace-content.gallery-full-page-content {
  background: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"]:has(.site-nav-panel) {
  --ink: #fff;
  --gray: rgb(255 255 255 / 76%);
  --gray-light: rgb(255 255 255 / 76%);
  --gold: #000;
  --gold-dark: #000;
  --accent-on-dark: #fff;
  --bg: #000;
  --bg-soft: #000;
  --line: rgb(255 255 255 / 36%);
  --dark: #000;
  --dark-2: #000;
  color-scheme: dark;
}

html[data-ui-theme="dark"]:has(.site-nav-panel) body,
html[data-ui-theme="dark"]:has(.site-nav-panel) :is(
  #siteHeader,
  #siteHeader.solid,
  nav.main-nav,
  .site-nav-panel,
  .site-nav-head,
  .site-nav-grid,
  .page-shell,
  .content,
  .policy-section,
  .pricing-section,
  .sessions,
  .videography-pricing,
  .products,
  .catalog,
  .contact,
  .testimonials,
  .about,
  .fees-panel,
  .epv-pricing,
  .pricing,
  .testimonial-card,
  .epv-card,
  .price-card,
  .epv-pricing .epv-card--best,
  .epv-pricing .epv-card--best .epv-foot,
  footer
) {
  border-color: rgb(255 255 255 / 36%) !important;
  background-color: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"][data-epv-website] .hero,
html[data-ui-theme="dark"][data-epv-website] .videography-announcement,
html[data-ui-theme="dark"]:has(.site-nav-panel) :is(.epv-pricing .epv-ribbon, .epv-pricing .epv-action, .pricing .btn-line) {
  background-color: #20584e !important;
  color: #fff !important;
}

html[data-ui-theme="dark"]:has(.site-nav-panel) :is(
  .epv-account,
  .epv-account-menu,
  .site-nav-panel,
  .site-nav-link,
  .epv-pricing .epv-foot,
  .service .s-icon,
  .price-card.popular,
  .testimonial-card,
  .contact-info,
  .page-shell,
  .policy-section,
  .section-description,
  .search,
  .product-card,
  .product,
  .catalog-item
) {
  border-color: rgb(255 255 255 / 36%) !important;
  background-color: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"]:has(.site-nav-panel) :is(
  #siteHeader,
  #siteHeader .brand,
  #siteHeader .main-nav,
  .site-nav-panel,
  .site-nav-link,
  .site-nav-heading,
  .epv-account,
  .epv-account-trigger,
  .epv-account-menu,
  .epv-account-menu a,
  .epv-account-menu button,
  .page-shell,
  .content,
  .policy-section,
  .pricing-section,
  .sessions,
  .videography-pricing,
  .products,
  .catalog,
  .contact,
  .testimonials,
  .about,
  .epv-pricing,
  .pricing,
  .testimonial-card,
  .epv-card,
  .price-card,
  footer
) {
  color: #fff !important;
}

html[data-ui-theme="dark"]:has(.site-nav-panel) :is(
  .hero,
  .site-nav-link:hover,
  .menu-toggle:hover,
  .epv-account-trigger:hover,
  .epv-account-menu a:hover,
  .epv-account-menu button:hover,
  .epv-pricing .epv-card,
  .epv-pricing .epv-card--best,
  .price-card,
  .testimonial-card,
  .fees-panel,
  .form-group input,
  .form-group select,
  .form-group textarea,
  input,
  textarea,
  select,
  dialog,
  [role="dialog"],
  .login-modal,
  .login-dialog
) {
  border-color: rgb(255 255 255 / 48%) !important;
  background-color: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"]:has(.site-nav-panel) :is(input, textarea, select)::placeholder {
  color: rgb(255 255 255 / 66%) !important;
  opacity: 1;
}

html[data-ui-theme="dark"]:has(.site-nav-panel) :is(.primary, .epv-action, .btn-primary, .videography-primary, .price-card.popular .button) {
  border-color: #20584e !important;
  background-color: #20584e !important;
  color: #fff !important;
}

html[data-ui-theme="dark"]:has(.site-nav-panel) .epv-account-menu .epv-account-logout {
  border-color: rgb(255 255 255 / 48%) !important;
  color: #fff !important;
}

html[data-ui-theme="dark"]:has(.site-nav-panel) .epv-account-menu .epv-account-logout:hover {
  border-color: #20584e !important;
  background: #000 !important;
  color: #20584e !important;
}

html[data-ui-theme="dark"][data-epv-blog] {
  --paper: #000;
  --surface: #000;
  --ink: #fff;
  --muted: rgb(255 255 255 / 74%);
  --line: rgb(255 255 255 / 32%);
  --soft: #000;
  color: #fff;
  background: #000;
}

html[data-ui-theme="dark"][data-epv-blog] :is(body, .blog-header, .blog-footer, .story, .featured, .journal-lead-secondary, .conversation, .auth-body, dialog, .epv-account-menu) {
  border-color: rgb(255 255 255 / 32%);
  background-color: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"][data-epv-blog] :is(input, textarea, select, .auth-tabs button, .password-wrap, .verification-digits input) {
  border-color: rgb(255 255 255 / 55%) !important;
  background: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"][data-epv-blog] :is(.epv-account-menu a, .epv-account-menu button) {
  color: #fff !important;
}

html[data-ui-theme="dark"][data-epv-blog] :is(.auth-tabs button.selected, .button[aria-pressed="true"]) {
  border-color: #20584e;
  background: #000;
  color: #fff;
}

html[data-ui-theme="dark"] .error-page {
  --error-bg: #000;
  --error-border: rgb(255 255 255 / 32%);
  --error-border-strong: rgb(255 255 255 / 55%);
  --error-hover: #000;
  --error-text: #fff;
  --error-text2: rgb(255 255 255 / 80%);
  --error-muted: rgb(255 255 255 / 74%);
  --error-accent: #20584e;
  --error-accent-hover: #20584e;
  background: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(body.status-site, .status-page, body:has(.brand-inner)) {
  background: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.status-page, body.status-site, body:has(.brand-inner)) :is(
  header.brand, .panel, .incident, .empty, .day-details, .page-arrow
) {
  border-color: rgb(255 255 255 / 36%) !important;
  background: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.status-page, body.status-site, body:has(.brand-inner)) :is(
  .brand-name, h1, h2, h3, strong, p, .eyebrow, .subtle, time, .count, .service p, .updates p, .foot, .archive details > summary
) {
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.status-page, body.status-site, body:has(.brand-inner)) :is(.summary, .maintenance, .degraded, .partial-outage, .major-outage, .improving) {
  border-color: #20584e !important;
  background: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.status-page, body.status-site, body:has(.brand-inner)) :is(.summary p, .service-extra, .brand-inner > a:last-child) {
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.status-page, body.status-site, body:has(.brand-inner)) .day-details {
  box-shadow: none !important;
}

html[data-ui-theme="dark"] :is(.status-page, body.status-site, body:has(.brand-inner)) a {
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.status-page, body.status-site, body:has(.brand-inner)) .service-status.operational {
  color: #20584e !important;
}

html[data-ui-theme="dark"] :is(.status-page, body.status-site, body:has(.brand-inner)) .day.has-incident {
  background: #20584e !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.status-page, body.status-site, body:has(.brand-inner)) .page-arrow:hover {
  border-color: #20584e !important;
  background: #000 !important;
  color: #20584e !important;
}

html[data-ui-theme="dark"] :is(input, textarea, select, dialog) {
  color-scheme: dark;
}

html[data-ui-theme="dark"] :is(.central-login-page, .live-access-restriction) {
  background: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.central-login-page .auth-box, .live-access-restriction-card) {
  border-color: rgb(255 255 255 / 42%) !important;
  background: #000 !important;
  color: #fff !important;
  box-shadow: none !important;
}

html[data-ui-theme="dark"] :is(.central-login-page .auth-box, .live-access-restriction-card) :is(input, textarea, select) {
  border-color: rgb(255 255 255 / 55%) !important;
  background: #000 !important;
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.central-login-page, .live-access-restriction) :is(h1, h2, h3, strong) {
  color: #fff !important;
}

html[data-ui-theme="dark"] :is(.central-login-page, .live-access-restriction) :is(p, small, label) {
  color: rgb(255 255 255 / 74%) !important;
}

html[data-ui-theme="dark"] :is(input, textarea, select)::placeholder {
  color: rgb(255 255 255 / 66%);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .epv-theme-selector .epv-theme-option {
    transition: none !important;
  }
}
