:root {
    --tvapp-customer-surface: #fff;
    --tvapp-customer-panel: #f1f5fa;
    --tvapp-customer-panel-active: #e2ebf7;
    --tvapp-customer-border: #cbd5e1;
    --tvapp-customer-control-border: #64748b;
    --tvapp-customer-text: #17263c;
    --tvapp-customer-muted: #4b5c71;
    --tvapp-customer-link: #174780;
    --tvapp-customer-hero: linear-gradient(135deg, #edf4fb, #f9fafe);
    --tvapp-customer-blue: #143b72;
    --tvapp-customer-blue-surface: #e4efff;
    --tvapp-customer-green: #166139;
    --tvapp-customer-green-surface: #e3f4e9;
    --tvapp-customer-gold: #664000;
    --tvapp-customer-gold-surface: #fff2cd;
    --tvapp-customer-red: #842029;
    --tvapp-customer-red-surface: #fbe6ea;
}

html[data-bs-theme="dark"] {
    --tvapp-customer-surface: #171f2c;
    --tvapp-customer-panel: #202c3e;
    --tvapp-customer-panel-active: #303f56;
    --tvapp-customer-border: #44536a;
    --tvapp-customer-control-border: #8b9bb1;
    --tvapp-customer-text: #f1f5fc;
    --tvapp-customer-muted: #b8c5d8;
    --tvapp-customer-link: #a9d3ff;
    --tvapp-customer-hero: linear-gradient(135deg, #182334, #22304a);
    --tvapp-customer-blue: #bfd9ff;
    --tvapp-customer-blue-surface: #173256;
    --tvapp-customer-green: #abdfbe;
    --tvapp-customer-green-surface: #163c2c;
    --tvapp-customer-gold: #ffe0a1;
    --tvapp-customer-gold-surface: #3d2e15;
    --tvapp-customer-red: #ffd1d7;
    --tvapp-customer-red-surface: #492533;
}

html[data-bs-theme="light"] body:has(main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
)) {
    background: linear-gradient(180deg, #fafcff, #eef3f8);
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) {
    --bs-heading-color: var(--tvapp-customer-text);
    --bs-secondary-color: var(--tvapp-customer-muted);
    --bs-info-rgb: 20, 59, 114;
    --bs-success-rgb: 22, 97, 57;
    --bs-danger-rgb: 132, 32, 41;
    color: var(--tvapp-customer-text);
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) .card {
    color: var(--tvapp-customer-text);
    background: var(--tvapp-customer-surface);
    border-color: var(--tvapp-customer-border) !important;
    box-shadow: 0 18px 42px rgb(15 23 42 / 8%);
}

html[data-bs-theme="light"] .tvapp-checkout-shell :is(.bg-light, .bg-white, .tvapp-checkout-register-box) {
    color: var(--tvapp-customer-text) !important;
    background: var(--tvapp-customer-panel) !important;
    border-color: var(--tvapp-customer-border) !important;
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) :is(h1, h2, h3, h4, h5, h6, label, strong, .heading-color, .form-label, .fw-semibold):not(:where(.text-info, .text-success, .text-warning, .text-danger)) {
    color: var(--tvapp-customer-text) !important;
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) :is(.text-muted, .small, small, .breadcrumb-item, .nav-divider .nav-item):not(:where(.text-info, .text-success, .text-warning, .text-danger)) {
    color: var(--tvapp-customer-muted) !important;
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) a:not(.btn):not(.nav-link) {
    color: var(--tvapp-customer-link);
}

html[data-bs-theme="light"] :is(.tvapp-crypto-shell, .tvapp-card-shell, .tvapp-binance-shell) .text-warning {
    color: var(--tvapp-customer-gold) !important;
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) .breadcrumb-item + .breadcrumb-item::before {
    color: var(--tvapp-customer-muted) !important;
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) .breadcrumb-item a {
    color: var(--tvapp-customer-link) !important;
}

html[data-bs-theme="light"] .tvapp-checkout-shell .alert {
    color: var(--bs-alert-color);
    background-color: var(--bs-alert-bg);
    border-color: var(--bs-alert-border-color);
}

html[data-bs-theme="light"] .tvapp-checkout-shell .btn-outline-success {
    color: var(--tvapp-customer-green);
    border-color: var(--tvapp-customer-green);
}

html[data-bs-theme="light"] .tvapp-checkout-shell .btn-outline-success:is(:hover, :focus) {
    color: var(--tvapp-customer-green);
    background: var(--tvapp-customer-green-surface);
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) :is(.alert, .badge, .btn) :is(strong, small, .small, .fw-semibold) {
    color: inherit !important;
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) :is(.btn-outline-light, .btn-outline-dark, .btn-outline-secondary) {
    color: var(--tvapp-customer-text);
    border-color: var(--tvapp-customer-control-border);
}

html[data-bs-theme="light"] main:is(
    .tvapp-checkout-shell,
    .tvapp-crypto-shell,
    .tvapp-card-shell,
    .tvapp-cashapp-shell,
    .tvapp-binance-shell,
    .tvapp-contact-shell,
    .tvapp-thank-you-shell
) :is(.btn-outline-light, .btn-outline-dark, .btn-outline-secondary):is(:hover, :focus) {
    color: var(--tvapp-customer-text);
    background: var(--tvapp-customer-panel-active);
}

html[data-bs-theme="light"] :is(.tvapp-checkout-shell, .tvapp-card-form, .tvapp-crypto-shell) :is(.form-control, .form-select) {
    color: var(--tvapp-form-text);
    background-color: var(--tvapp-form-surface);
    border-color: var(--tvapp-form-border);
}

html[data-bs-theme="light"] :is(.tvapp-checkout-shell, .tvapp-card-form, .tvapp-crypto-shell) :is(.form-control, .form-select):focus {
    color: var(--tvapp-form-text);
    background-color: var(--tvapp-form-surface-focus);
}

html[data-bs-theme="light"] :is(.tvapp-checkout-shell, .tvapp-card-form, .tvapp-crypto-shell) .form-control::placeholder {
    color: var(--tvapp-form-placeholder);
}

html[data-bs-theme="light"] main :is(
    .tvapp-checkout-option, .tvapp-checkout-playlist-panel, .tvapp-checkout-quick-actions, .tvapp-checkout-playlist-scroll,
    .tvapp-checkout-side-card, .tvapp-checkout-price-card, .tvapp-checkout-step, .tvapp-checkout-note, .tvapp-checkout-summary-box, .tvapp-checkout-code,
    .tvapp-crypto-price-card, .tvapp-crypto-wallet-address, .tvapp-crypto-guidance-item,
    .tvapp-card-price-card, .tvapp-card-step, .tvapp-card-note, .tvapp-card-summary-box, .tvapp-card-option, .tvapp-card-chip,
    .tvapp-cashapp-box, .tvapp-cashapp-step, .tvapp-cashapp-summary, .tvapp-cashapp-note, .tvapp-cashapp-code,
    .tvapp-binance-box, .tvapp-binance-step, .tvapp-binance-summary, .tvapp-binance-note, .tvapp-binance-code,
    .tvapp-contact-price-card, .tvapp-contact-guidance-item, .tvapp-contact-note, .tvapp-contact-summary-box,
    .tvapp-thank-you-box
) {
    color: var(--tvapp-customer-text);
    background: var(--tvapp-customer-panel);
    border-color: var(--tvapp-customer-border);
}

html[data-bs-theme="light"] main .tvapp-checkout-option:is(:hover, :focus-within) {
    background: var(--tvapp-customer-panel-active);
}

html[data-bs-theme="light"] main :is(
    .tvapp-checkout-price-label, .tvapp-crypto-price-label, .tvapp-card-price-label,
    .tvapp-cashapp-label, .tvapp-binance-label, .tvapp-contact-price-label,
    .tvapp-crypto-price-value.is-old, .tvapp-card-price-value.is-old
) {
    color: var(--tvapp-customer-muted);
}

html[data-bs-theme="light"] main :is(
    .tvapp-checkout-price-value, .tvapp-crypto-price-value:not(.is-old), .tvapp-card-price-value:not(.is-old),
    .tvapp-cashapp-value, .tvapp-binance-value, .tvapp-contact-price-value
) {
    color: var(--tvapp-customer-text);
}

html[data-bs-theme="light"] main :is(.tvapp-checkout-badge, .tvapp-checkout-step-number, .tvapp-contact-badge, .tvapp-contact-note.is-accent) {
    color: var(--tvapp-customer-blue);
    background: var(--tvapp-customer-blue-surface);
    border-color: #abc5e9;
}

html[data-bs-theme="light"] main :is(
    .tvapp-crypto-discount-badge, .tvapp-card-badge, .tvapp-card-step-number, .tvapp-card-chip.is-good,
    .tvapp-cashapp-badge, .tvapp-cashapp-step-number, .tvapp-cashapp-note.is-warning, .tvapp-thank-you-icon
) {
    color: var(--tvapp-customer-green);
    background: var(--tvapp-customer-green-surface);
    border-color: #a5ceba;
}

html[data-bs-theme="light"] main :is(
    .tvapp-crypto-note, .tvapp-checkout-price-card.is-gold,
    .tvapp-binance-badge, .tvapp-binance-step-number, .tvapp-binance-note.is-warning
) {
    color: var(--tvapp-customer-gold);
    background: var(--tvapp-customer-gold-surface);
    border-color: #d6bb78;
}

html[data-bs-theme="light"] main .tvapp-checkout-price-card.is-gold :is(.tvapp-checkout-price-label, .tvapp-checkout-price-value) {
    color: var(--tvapp-customer-gold) !important;
}

html[data-bs-theme="light"] main .tvapp-checkout-note.is-danger {
    color: var(--tvapp-customer-red);
    background: var(--tvapp-customer-red-surface);
    border-color: #d9a4ae;
}

:is(.customer-account-sidebar, .customer-account-panel, .customer-account-hero, .customer-account-stat-card) {
    --bs-heading-color: var(--tvapp-customer-text);
    --bs-secondary-color: var(--tvapp-customer-muted);
    color: var(--tvapp-customer-text);
    background: var(--tvapp-customer-surface);
}

html[data-bs-theme] .customer-account-hero {
    color: var(--tvapp-customer-text);
    background: var(--tvapp-customer-hero);
}

html[data-bs-theme] :is(.customer-account-hero .card, .customer-account-panel .card) {
    color: var(--tvapp-customer-text);
    background-color: var(--tvapp-customer-surface);
    border-color: var(--tvapp-customer-border) !important;
}

html[data-bs-theme] :is(.customer-account-sidebar, .customer-account-hero, .customer-account-panel, .customer-account-stat-card)
    :is(.text-muted, .text-white-50:not(#customer-support-stream *)) {
    color: var(--tvapp-customer-muted) !important;
}

html[data-bs-theme] .customer-account-avatar {
    color: var(--tvapp-customer-blue);
    background: var(--tvapp-customer-blue-surface);
}

html[data-bs-theme] :is(.customer-account-support-box, .customer-account-form-note, .customer-account-stat-card, .customer-account-menu .list-group-item) {
    color: var(--tvapp-customer-text);
    background: var(--tvapp-customer-panel);
    border-color: var(--tvapp-customer-border);
}

html[data-bs-theme] .customer-account-menu .list-group-item:is(.active, :hover, :focus) {
    color: var(--tvapp-customer-text);
    background: var(--tvapp-customer-panel-active);
}

html[data-bs-theme] .customer-account-menu .list-group-item.active :is(.customer-account-menu-label, .text-muted) {
    color: var(--tvapp-customer-text) !important;
}

html[data-bs-theme] .customer-account-menu .badge.text-bg-light {
    color: var(--tvapp-customer-blue) !important;
    background: var(--tvapp-customer-blue-surface) !important;
}

html[data-bs-theme] :is(
    .customer-account-support-box .btn-light,
    .customer-account-panel .btn-outline-dark,
    .customer-account-panel .btn-outline-secondary
) {
    color: var(--tvapp-customer-text);
    background: var(--tvapp-customer-surface);
    border-color: var(--tvapp-customer-control-border);
}

html[data-bs-theme] :is(
    .customer-account-support-box .btn-light,
    .customer-account-panel .btn-outline-dark,
    .customer-account-panel .btn-outline-secondary
):is(:hover, :focus) {
    color: var(--tvapp-customer-text);
    background: var(--tvapp-customer-panel-active);
    border-color: var(--tvapp-customer-control-border);
}

html[data-bs-theme] :is(.customer-account-detail-value, .customer-account-stat-value) {
    color: var(--tvapp-customer-text);
}

html[data-bs-theme] :is(.customer-account-detail-label, .customer-account-support-box p, .customer-account-status-note) {
    color: var(--tvapp-customer-muted);
}

html[data-bs-theme] .customer-account-detail-row {
    border-color: var(--tvapp-customer-border);
}

html[data-bs-theme] .customer-account-stat-card.is-gold {
    background: var(--tvapp-customer-gold-surface);
    border-color: var(--tvapp-customer-border);
}

html[data-bs-theme] .customer-account-stat-card.is-gold :is(.text-muted, .customer-account-stat-value) {
    color: var(--tvapp-customer-gold) !important;
    text-shadow: none;
}

html[data-bs-theme] .customer-account-access-link {
    color: var(--tvapp-customer-link);
}

html[data-bs-theme] .customer-account-status-badge.is-online {
    color: var(--tvapp-customer-green);
    background: var(--tvapp-customer-green-surface);
}

html[data-bs-theme] .customer-account-status-badge.is-updating {
    color: var(--tvapp-customer-gold);
    background: var(--tvapp-customer-gold-surface);
}

html[data-bs-theme] .customer-account-status-badge.is-offline {
    color: var(--tvapp-customer-red);
    background: var(--tvapp-customer-red-surface);
}

html[data-bs-theme="light"] .customer-account-panel .text-warning {
    color: var(--tvapp-customer-gold) !important;
}

html[data-bs-theme] #customer-support-stream .text-center.my-3 > .small.fw-semibold {
    color: var(--tvapp-customer-muted) !important;
    text-shadow: none !important;
}
