:root {
    --coinhub-bg: #f5f7fb;
    --coinhub-surface: #ffffff;
    --coinhub-surface-muted: #f8fafc;
    --coinhub-text: #111827;
    --coinhub-muted: #6b7280;
    --coinhub-border: #e5e7eb;
    --coinhub-primary: #2563eb;
    --coinhub-primary-dark: #1d4ed8;
    --coinhub-secondary: #7c3aed;
    --coinhub-success: #16a34a;
    --coinhub-warning: #d97706;
    --coinhub-danger: #dc2626;
    --coinhub-admin-gold: #d4a317;
    --coinhub-admin-gold-strong: #b8860b;
    --coinhub-dark: #111827;
    --coinhub-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    --coinhub-shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.06);
    --coinhub-header-bg: rgba(255, 255, 255, 0.94);
    --coinhub-header-border: rgba(229, 231, 235, 0.9);
    --coinhub-header-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
    --coinhub-hover-surface: #eff6ff;
    --coinhub-ghost-hover: #f3f4f6;
    --coinhub-field-bg: #ffffff;
    --coinhub-panel-bg: #f8fafc;
    --coinhub-panel-border: #e5e7eb;
    --coinhub-accent-blue-bg: #dbeafe;
    --coinhub-accent-green-bg: #dcfce7;
    --coinhub-accent-purple-bg: #ede9fe;
    --coinhub-accent-orange-bg: #ffedd5;
    --coinhub-notice-bg: #eff6ff;
    --coinhub-notice-border: #bfdbfe;
    --coinhub-notice-text: #1d4ed8;
    --coinhub-warning-bg: #fffbeb;
    --coinhub-warning-border: #fde68a;
    --coinhub-warning-text: #92400e;
    --coinhub-progress-bg: #e5e7eb;
    --coinhub-footer-bg: #111827;
    --coinhub-footer-text: rgba(255, 255, 255, 0.74);
}

html {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --coinhub-bg: #08101f;
    --coinhub-surface: #0f172a;
    --coinhub-surface-muted: #111c31;
    --coinhub-text: #e5eefc;
    --coinhub-muted: #9baac2;
    --coinhub-border: rgba(148, 163, 184, 0.18);
    --coinhub-dark: #e5eefc;
    --coinhub-shadow: 0 18px 50px rgba(2, 6, 23, 0.42);
    --coinhub-shadow-soft: 0 12px 34px rgba(2, 6, 23, 0.34);
    --coinhub-header-bg: rgba(8, 16, 31, 0.84);
    --coinhub-header-border: rgba(148, 163, 184, 0.16);
    --coinhub-header-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
    --coinhub-hover-surface: rgba(59, 130, 246, 0.14);
    --coinhub-ghost-hover: rgba(148, 163, 184, 0.12);
    --coinhub-field-bg: #0b1220;
    --coinhub-panel-bg: #0a1326;
    --coinhub-panel-border: rgba(148, 163, 184, 0.14);
    --coinhub-accent-blue-bg: rgba(59, 130, 246, 0.16);
    --coinhub-accent-green-bg: rgba(34, 197, 94, 0.16);
    --coinhub-accent-purple-bg: rgba(124, 58, 237, 0.18);
    --coinhub-accent-orange-bg: rgba(249, 115, 22, 0.16);
    --coinhub-notice-bg: rgba(37, 99, 235, 0.14);
    --coinhub-notice-border: rgba(96, 165, 250, 0.28);
    --coinhub-notice-text: #bfdbfe;
    --coinhub-warning-bg: rgba(245, 158, 11, 0.12);
    --coinhub-warning-border: rgba(245, 158, 11, 0.28);
    --coinhub-warning-text: #fde68a;
    --coinhub-progress-bg: rgba(148, 163, 184, 0.16);
    --coinhub-footer-bg: #060d1a;
    --coinhub-footer-text: rgba(226, 232, 240, 0.72);
}

body.site-shell {
    font-family: "Manrope", system-ui, sans-serif;
    background: var(--coinhub-bg);
    color: var(--coinhub-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-4,
.display-5 {
    color: var(--coinhub-text);
}

html[data-theme="dark"] body.site-shell {
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.1), transparent 36%),
        radial-gradient(circle at 100% 0, rgba(124, 58, 237, 0.08), transparent 24%),
        var(--coinhub-bg);
}

.site-main {
    min-height: calc(100vh - 320px);
}

.site-header {
    background: var(--coinhub-header-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--coinhub-header-border);
    box-shadow: var(--coinhub-header-shadow);
}

.site-navbar {
    background: transparent;
}

.site-brand {
    text-decoration: none;
}

.brand-mark {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--coinhub-primary), var(--coinhub-secondary));
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.24);
}

.brand-mark--footer {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.15rem;
    box-shadow: none;
}

.brand-name {
    color: var(--coinhub-text);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.navbar-nav .nav-link {
    color: var(--coinhub-muted);
    border-radius: 0.8rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    background: var(--coinhub-hover-surface);
    color: var(--coinhub-primary);
}

.auth-actions .btn {
    min-width: 6.9rem;
}

.theme-menu,
.theme-menu .btn {
    min-width: 0;
}

.btn-theme-icon {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--coinhub-border);
    background: var(--coinhub-surface);
    color: var(--coinhub-muted);
    box-shadow: var(--coinhub-shadow-soft);
    line-height: 1;
}

.btn-theme-icon i {
    font-size: 1.05rem;
    display: block;
    line-height: 1;
    transition: transform 0.18s ease, color 0.18s ease;
}

.btn-theme-icon:hover,
.btn-theme-icon:focus {
    color: var(--coinhub-primary);
    background: var(--coinhub-hover-surface);
    border-color: rgba(37, 99, 235, 0.28);
}

.btn-theme-icon:hover i,
.btn-theme-icon:focus i {
    transform: scale(1.05);
}

.theme-menu__dropdown {
    min-width: 14rem;
    padding: 0.45rem;
    background: var(--coinhub-surface);
    border: 1px solid var(--coinhub-border) !important;
    border-radius: 1rem;
    box-shadow: var(--coinhub-shadow);
}

.theme-menu__title {
    padding: 0.45rem 0.7rem 0.35rem;
    color: var(--coinhub-muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.theme-menu__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.85rem;
    color: var(--coinhub-text);
    padding: 0.7rem 0.8rem;
    font-weight: 600;
}

.theme-menu__option i:first-child {
    color: var(--coinhub-primary);
}

.theme-menu__option:hover,
.theme-menu__option:focus,
.theme-menu__option.is-active {
    background: var(--coinhub-hover-surface);
    color: var(--coinhub-text);
}

.btn {
    border-radius: 0.9rem;
    font-weight: 700;
    padding-inline: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coinhub-primary), var(--coinhub-secondary));
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, var(--coinhub-primary-dark), #6d28d9) !important;
    border-color: transparent !important;
}

.btn-outline-primary {
    border-color: #bfdbfe;
    color: var(--coinhub-primary);
    background: var(--coinhub-surface);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    border-color: #93c5fd !important;
    color: var(--coinhub-primary) !important;
    background: var(--coinhub-hover-surface) !important;
}

.btn-ghost {
    border: 1px solid transparent;
    color: var(--coinhub-muted);
    background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus {
    color: var(--coinhub-text);
    background: var(--coinhub-ghost-hover);
}

.btn-admin-entry {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-admin-entry::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.28) 49%, rgba(255, 232, 166, 0.4) 52%, transparent 66%);
    transform: translateX(-160%) rotate(10deg);
    opacity: 0;
    pointer-events: none;
}

.btn-admin-entry:hover,
.btn-admin-entry:focus,
.btn-admin-entry:active {
    color: #5a3d00 !important;
    background: rgba(212, 163, 23, 0.18) !important;
    border-color: rgba(212, 163, 23, 0.35) !important;
}

.btn-admin-entry:hover::after,
.btn-admin-entry:focus::after,
.btn-admin-entry:active::after {
    opacity: 1;
    animation: admin-shimmer 900ms ease;
}

.btn-logout-action:hover,
.btn-logout-action:focus,
.btn-logout-action:active {
    color: #fff !important;
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border-color: transparent !important;
}

.mobile-theme-switch {
    border-top: 1px solid var(--coinhub-border);
    padding-top: 1rem;
}

.mobile-theme-switch__title {
    color: var(--coinhub-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mobile-theme-switch__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.btn-theme-inline {
    min-width: 0;
    border: 1px solid var(--coinhub-border);
    background: var(--coinhub-surface);
    color: var(--coinhub-muted);
    padding: 0.85rem 0.75rem;
}

.btn-theme-inline:hover,
.btn-theme-inline:focus,
.btn-theme-inline.is-active {
    color: var(--coinhub-primary);
    background: var(--coinhub-hover-surface);
    border-color: rgba(37, 99, 235, 0.28);
}

.hero-spotlight {
    padding-top: 3.5rem;
    padding-bottom: 1.25rem;
}

.hero-copy {
    max-width: 44rem;
}

.page-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--coinhub-muted);
}

.page-hero {
    max-width: 48rem;
    margin-bottom: 2rem;
}

.page-hero .lead,
.text-secondary {
    color: var(--coinhub-muted) !important;
}

.text-dark {
    color: var(--coinhub-text) !important;
}

html[data-theme="dark"] .display-4,
html[data-theme="dark"] .display-5,
html[data-theme="dark"] .page-hero h2,
html[data-theme="dark"] .shell-card h2,
html[data-theme="dark"] .shell-card h3,
html[data-theme="dark"] .content-soft h2,
html[data-theme="dark"] .notice-card h2,
html[data-theme="dark"] .warning-card h2 {
    color: #f5f9ff;
}

.shell-card,
.auth-card,
.feature-card,
.review-card,
.content-soft,
.tier-card,
.mini-card,
.notice-card,
.warning-card,
.error-card {
    background: var(--coinhub-surface);
    border: 1px solid var(--coinhub-border);
    border-radius: 1.5rem;
    box-shadow: var(--coinhub-shadow);
}


.exchange-card {
    border-radius: 1.7rem;
}

.form-label {
    color: var(--coinhub-text);
    font-size: 0.95rem;
    font-weight: 700;
}

.exchange-input-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(10rem, 0.9fr);
    gap: 0.85rem;
}

.exchange-form-layout {
    align-items: start;
}

.exchange-form-layout > .col-lg-5 {
    display: flex;
}

.exchange-direction-stack {
    display: grid;
    gap: 1.35rem;
}

.exchange-direction-group {
    min-width: 0;
    display: grid;
    gap: 0.75rem;
}

.swap-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 1.5rem;
    margin: 0;
    padding: 0;
}

.swap-button {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0 auto;
    box-shadow:
        0 0 0 0.38rem var(--coinhub-surface),
        var(--coinhub-shadow-soft);
}

.swap-button i {
    line-height: 1;
}

.form-control,
.form-select {
    min-height: 3.35rem;
    border-radius: 0.95rem;
    border-color: var(--coinhub-border);
    background: var(--coinhub-field-bg);
    color: var(--coinhub-text);
    box-shadow: none;
}

.form-control,
.form-select,
.accordion-button,
.accordion-body {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder,
textarea.form-control::placeholder {
    color: var(--coinhub-muted);
    opacity: 0.85;
}

.form-control:focus,
.form-select:focus {
    background: var(--coinhub-field-bg);
    color: var(--coinhub-text);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.11);
}

textarea.form-control {
    min-height: 6rem;
}

.form-control[readonly],
.form-control:disabled,
.form-select:disabled {
    background: var(--coinhub-panel-bg);
    color: var(--coinhub-muted);
    border-color: var(--coinhub-border);
}

input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:focus,
textarea.form-control:-webkit-autofill,
textarea.form-control:-webkit-autofill:hover,
textarea.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--coinhub-text);
    -webkit-box-shadow: 0 0 0 1000px var(--coinhub-field-bg) inset;
    transition: background-color 9999s ease-in-out 0s;
}

.form-check-label {
    color: var(--coinhub-muted);
}

.form-check-label a,
.page-subtitle a,
.page-hero .lead a,
.text-secondary a,
.form-hint a,
.notice-card a,
.warning-card a {
    color: var(--coinhub-primary);
    text-decoration: none;
    font-weight: 700;
}

.form-check-label a:hover,
.page-subtitle a:hover,
.page-hero .lead a:hover,
.text-secondary a:hover,
.form-hint a:hover,
.notice-card a:hover,
.warning-card a:hover {
    color: var(--coinhub-primary-dark);
}

.card-body h2 a,
.card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.card-body h2 a:hover,
.card-body h3 a:hover {
    color: var(--coinhub-primary);
}

.form-hint {
    color: var(--coinhub-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.requisite-picker {
    position: relative;
}

.requisite-picker__display {
    min-height: 3.6rem;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.82rem 1.15rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.04), rgba(124, 58, 237, 0.02)),
        var(--coinhub-field-bg);
    box-shadow: 0 0 0 0.45rem rgba(59, 130, 246, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.requisite-picker__value {
    min-width: 0;
    display: block;
    font-weight: 700;
    font-size: clamp(1rem, 1.2vw + 0.72rem, 1.22rem);
    line-height: 1.24;
    color: var(--coinhub-text);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.requisite-picker__icon {
    font-size: 1rem;
    color: var(--coinhub-muted);
    line-height: 1;
}

.requisite-picker__select {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 3.6rem;
    border: 0;
    background: transparent;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
    appearance: none;
}

.requisite-picker__select:focus {
    box-shadow: none;
}

.requisite-picker:focus-within .requisite-picker__display {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow:
        0 0 0 0.35rem rgba(59, 130, 246, 0.12),
        0 0 0 0.65rem rgba(59, 130, 246, 0.06);
}

.requisite-control {
    width: 100%;
}

.requisite-control--textarea {
    min-height: 6.4rem;
}

.alert {
    border-radius: 1rem;
}

.calc-panel {
    background: var(--coinhub-panel-bg);
    border: 1px solid var(--coinhub-panel-border);
    border-radius: 1.2rem;
    padding: 1.15rem 1.3rem;
}

.calc-panel--aside {
    position: sticky;
    top: 6.75rem;
    box-shadow: var(--coinhub-shadow-soft);
    width: 100%;
    min-height: 100%;
}

.calc-panel__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--coinhub-panel-border);
}

.calc-panel__row:last-child {
    border-bottom: none;
}

.calc-panel__row span {
    color: var(--coinhub-muted);
}

.calc-panel__row strong {
    text-align: right;
    color: var(--coinhub-text);
}

.calc-panel__row--accent strong {
    color: var(--coinhub-success);
}

.calc-panel__row--total strong {
    color: var(--coinhub-primary);
    font-size: 1.15rem;
}

.feature-card {
    padding: 1.65rem;
    box-shadow: var(--coinhub-shadow-soft);
    height: 100%;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-icon--blue {
    background: var(--coinhub-accent-blue-bg);
    color: var(--coinhub-primary);
}

.feature-icon--green {
    background: var(--coinhub-accent-green-bg);
    color: var(--coinhub-success);
}

.feature-icon--purple {
    background: var(--coinhub-accent-purple-bg);
    color: var(--coinhub-secondary);
}

.feature-icon--orange {
    background: var(--coinhub-accent-orange-bg);
    color: #ea580c;
}

.feature-card h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.65rem;
    font-size: 1.12rem;
    font-weight: 800;
}

.feature-card p {
    color: var(--coinhub-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.stats-band {
    background: linear-gradient(135deg, var(--coinhub-primary), var(--coinhub-secondary));
    color: #fff;
    border-radius: 1.7rem;
    padding: 2rem 2.2rem;
    box-shadow: 0 22px 40px rgba(59, 130, 246, 0.24);
}

.stats-band__value {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
}

.stats-band__label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.93rem;
}

.content-highlight {
    background: linear-gradient(135deg, var(--coinhub-primary), var(--coinhub-secondary));
    color: #fff;
    padding: 2rem 2.2rem;
    border-radius: 1.7rem;
    box-shadow: 0 22px 40px rgba(59, 130, 246, 0.22);
}

.content-highlight__list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
}

.content-soft {
    padding: 2rem;
}

.rules-steps {
    display: grid;
    gap: 1.25rem;
}

.rules-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.rules-step__index {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--coinhub-accent-blue-bg);
    color: var(--coinhub-primary);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rules-step h3,
.mini-card h3,
.contact-method h3,
.tier-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: var(--coinhub-text);
}

.rules-step p,
.mini-card p,
.contact-method p {
    margin-bottom: 0;
    color: var(--coinhub-muted);
    line-height: 1.7;
}

.dot-list {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.8rem;
    color: var(--coinhub-muted);
}

.dot-list--compact {
    gap: 0.45rem;
}

.mini-card,
.notice-card,
.warning-card {
    padding: 1.3rem 1.4rem;
}

.notice-card {
    background: var(--coinhub-notice-bg);
    border-color: var(--coinhub-notice-border);
    color: var(--coinhub-notice-text);
}

.warning-card {
    background: var(--coinhub-warning-bg);
    border-color: var(--coinhub-warning-border);
    color: var(--coinhub-warning-text);
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-method + .contact-method {
    margin-top: 1.5rem;
}

.contact-method__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-method__icon--blue {
    background: var(--coinhub-accent-blue-bg);
    color: #2563eb;
}

.contact-method__icon--green {
    background: rgba(34, 197, 94, 0.16);
    color: #16a34a;
}

.contact-method__icon--yellow {
    background: rgba(245, 158, 11, 0.16);
    color: #eab308;
}

.contact-method__icon--purple {
    background: var(--coinhub-accent-purple-bg);
    color: var(--coinhub-secondary);
}

.support-schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.support-schedule-list li {
    display: block;
    font-size: 0.95rem;
    color: var(--coinhub-muted);
}

.support-schedule-list strong {
    color: var(--coinhub-text);
    font-weight: 700;
}

.support-help-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: var(--coinhub-notice-bg);
    border: 1px solid var(--coinhub-notice-border);
    color: var(--coinhub-notice-text);
}

.support-help-note i {
    font-size: 1rem;
    line-height: 1.3;
    color: var(--coinhub-primary);
}

.review-card {
    padding: 1.6rem;
    height: 100%;
}

.review-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--coinhub-primary), var(--coinhub-secondary));
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
}

.review-rating {
    color: #f59e0b;
    letter-spacing: 0.08em;
}

.shell-accordion-item {
    border-radius: 1.25rem !important;
    overflow: hidden;
    border: 1px solid var(--coinhub-border) !important;
    margin-bottom: 1rem;
    box-shadow: var(--coinhub-shadow-soft);
}

.accordion-button {
    background: var(--coinhub-surface);
    color: var(--coinhub-text);
    font-weight: 700;
}

.accordion-button:not(.collapsed) {
    background: var(--coinhub-hover-surface);
    color: var(--coinhub-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background: var(--coinhub-surface);
    color: var(--coinhub-muted);
    line-height: 1.7;
}

.accordion-body p,
.accordion-body li {
    color: inherit;
}

.tier-card {
    position: relative;
    padding: 2rem 1.6rem 1.7rem;
    text-align: center;
    height: 100%;
}

.tier-card--current {
    border: 2px solid #facc15;
}

.tier-chip {
    position: absolute;
    left: 50%;
    top: -0.85rem;
    transform: translateX(-50%);
    background: #facc15;
    color: #713f12;
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
}

.tier-icon {
    font-size: 3.25rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.tier-discount {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--coinhub-primary), var(--coinhub-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.35rem;
}

.tier-discount__label,
.tier-note {
    color: var(--coinhub-muted);
}

.tier-note {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.auth-shell {
    max-width: 32rem;
    margin: 0 auto;
}

.auth-card {
    background: var(--coinhub-surface);
    border: 1px solid var(--coinhub-border);
    box-shadow: var(--coinhub-shadow);
}

.auth-card .border-top {
    border-color: var(--coinhub-border) !important;
}


.auth-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--coinhub-primary), var(--coinhub-secondary));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin: 0 auto 1.25rem;
}

.auth-benefits ul {
    margin: 0;
    padding-left: 1rem;
    color: var(--coinhub-muted);
    display: grid;
    gap: 0.55rem;
}

.stat-card {
    border-radius: 1.4rem;
    box-shadow: var(--coinhub-shadow-soft);
}

.stat-label {
    display: block;
    font-size: 0.88rem;
    color: var(--coinhub-muted);
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: clamp(1.8rem, 3.4vw, 2.45rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--coinhub-text);
    margin-bottom: 0.8rem;
}

.stat-card--gradient {
    background: linear-gradient(135deg, var(--coinhub-primary), var(--coinhub-secondary));
    color: #fff;
    box-shadow: 0 18px 34px rgba(59, 130, 246, 0.22);
}

.stat-card--gradient .stat-label,
.stat-card--gradient .text-secondary {
    color: rgba(255, 255, 255, 0.82) !important;
}

.progress-line {
    width: 100%;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--coinhub-progress-bg);
    overflow: hidden;
}

.progress-line--light {
    background: rgba(255, 255, 255, 0.22);
}

.progress-line__bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--coinhub-primary), var(--coinhub-secondary));
}

.progress-line--light .progress-line__bar {
    background: rgba(255, 255, 255, 0.96);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--coinhub-hover-surface);
    color: var(--coinhub-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-stack {
    display: grid;
    gap: 1rem;
}

.admin-inline-actions {
    display: flex;
    align-items: flex-start;
}

.admin-stats-list {
    display: grid;
    gap: 0.85rem;
}

.admin-stats-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: var(--coinhub-hover-surface);
    color: var(--coinhub-text);
}

.admin-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-quick-link {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--coinhub-border);
    border-radius: 1.1rem;
    background: var(--coinhub-surface);
    color: var(--coinhub-text);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.admin-quick-link:hover,
.admin-quick-link:focus {
    color: var(--coinhub-text);
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.admin-quick-link i {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--coinhub-hover-surface);
    color: var(--coinhub-primary);
    font-size: 1.1rem;
}

.admin-quick-link strong,
.admin-quick-link span {
    display: block;
}

.admin-quick-link span {
    margin-top: 0.25rem;
    color: var(--coinhub-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-table td .btn {
    white-space: nowrap;
}

.admin-editor-form {
    display: block;
}

.admin-editor-item {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 1.2rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.admin-editor-item .card-body {
    padding: 1rem !important;
}

.admin-editor-item .h6 {
    color: var(--coinhub-text);
}

.admin-editor-item .form-hint {
    color: #6b7a93;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.25rem;
}

.empty-state__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: var(--coinhub-hover-surface);
    color: var(--coinhub-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.orders-table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

.orders-table th {
    color: var(--coinhub-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom-color: var(--coinhub-border);
}

.orders-table td {
    border-bottom-color: var(--coinhub-border);
}

.status-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-chip--neutral {
    background: #e5e7eb;
    color: #374151;
}

.status-chip--warning {
    background: #fef3c7;
    color: var(--coinhub-warning);
}

.status-chip--info {
    background: #dbeafe;
    color: var(--coinhub-primary);
}

.status-chip--success {
    background: #dcfce7;
    color: var(--coinhub-success);
}

.status-chip--danger {
    background: #fee2e2;
    color: var(--coinhub-danger);
}

.status-chip--dark {
    background: #e5e7eb;
    color: var(--coinhub-dark);
}

.error-shell {
    max-width: 40rem;
    margin: 0 auto;
}

.error-card__icon {
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.site-footer {
    background: var(--coinhub-footer-bg);
}

.footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links li + li,
.footer-contacts li + li {
    margin-top: 0.7rem;
}

.footer-links a,
.footer-contacts a {
    color: var(--coinhub-footer-text);
    text-decoration: none;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: #fff;
}

.footer-contacts li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: var(--coinhub-footer-text);
}

.support-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-icon--email {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.14);
}

.support-icon--telegram {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.14);
}

.support-icon--hours {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.14);
}

.support-schedule-editor {
    display: grid;
    gap: 0.85rem;
}

.support-schedule-row {
    display: grid;
    grid-template-columns: minmax(11rem, 1.2fr) minmax(7rem, 0.8fr) minmax(7rem, 0.8fr) minmax(14rem, 2fr);
    gap: 0.85rem;
    align-items: end;
    padding: 1rem 1rem 1.05rem;
    background: var(--coinhub-panel-bg);
    border: 1px solid var(--coinhub-panel-border);
    border-radius: 1rem;
}

.support-schedule-row__day,
.support-schedule-row__note {
    min-width: 0;
}

.support-schedule-preview {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.support-schedule-preview__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--coinhub-muted);
    font-weight: 800;
}

html[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1) opacity(0.88);
}

html[data-theme="dark"] .table {
    --bs-table-color: var(--coinhub-text);
    --bs-table-border-color: var(--coinhub-border);
}

html[data-theme="dark"] .bg-light-subtle,
html[data-theme="dark"] .form-control.bg-light-subtle {
    background: var(--coinhub-field-bg) !important;
    color: var(--coinhub-text) !important;
    border-color: var(--coinhub-border) !important;
}

html[data-theme="dark"] .status-chip--neutral {
    background: rgba(148, 163, 184, 0.16);
    color: #dbe4f3;
}

html[data-theme="dark"] .status-chip--warning {
    background: rgba(245, 158, 11, 0.16);
    color: #fcd34d;
}

html[data-theme="dark"] .status-chip--info {
    background: rgba(59, 130, 246, 0.16);
    color: #bfdbfe;
}

html[data-theme="dark"] .status-chip--success {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

html[data-theme="dark"] .status-chip--danger {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

html[data-theme="dark"] .status-chip--dark {
    background: rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
}

html[data-theme="dark"] .admin-editor-item {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(12, 21, 38, 0.98), rgba(8, 15, 29, 0.98));
    border-color: rgba(148, 163, 184, 0.16) !important;
    box-shadow: 0 20px 42px rgba(2, 6, 23, 0.32);
}

html[data-theme="dark"] .admin-editor-item .h6,
html[data-theme="dark"] .admin-editor-item .form-label {
    color: #f1f6ff;
}

html[data-theme="dark"] .admin-editor-item .form-hint {
    color: #9fb2ce;
}

html[data-theme="dark"] .error-card__icon {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

html[data-theme="dark"] .accordion-button::after {
    filter: invert(1) brightness(1.8);
}

html[data-theme="dark"] .shell-accordion-item {
    background: linear-gradient(180deg, rgba(13, 22, 39, 0.98), rgba(8, 14, 28, 0.98));
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .accordion-button {
    background: linear-gradient(180deg, rgba(22, 34, 59, 0.98), rgba(16, 25, 47, 0.96));
    color: #edf4ff;
}

html[data-theme="dark"] .accordion-button:not(.collapsed) {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.24), rgba(59, 130, 246, 0.12));
    color: #dbeafe;
    border-bottom: 1px solid rgba(96, 165, 250, 0.16);
}

html[data-theme="dark"] .accordion-body {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.06), transparent 30%),
        #0a1326;
    color: #d4def0;
}

html[data-theme="dark"] .accordion-body p,
html[data-theme="dark"] .accordion-body li {
    color: #cfdbef;
}

html[data-theme="dark"] .btn-admin-entry:hover,
html[data-theme="dark"] .btn-admin-entry:focus,
html[data-theme="dark"] .btn-admin-entry:active {
    color: #fef3c7 !important;
    background: rgba(212, 163, 23, 0.16) !important;
    border-color: rgba(212, 163, 23, 0.32) !important;
}

html[data-theme="dark"] .form-check-label a,
html[data-theme="dark"] .page-subtitle a,
html[data-theme="dark"] .page-hero .lead a,
html[data-theme="dark"] .text-secondary a,
html[data-theme="dark"] .form-hint a {
    color: #93c5fd;
}

html[data-theme="dark"] .form-check-label a:hover,
html[data-theme="dark"] .page-subtitle a:hover,
html[data-theme="dark"] .page-hero .lead a:hover,
html[data-theme="dark"] .text-secondary a:hover,
html[data-theme="dark"] .form-hint a:hover {
    color: #dbeafe;
}

html[data-theme="dark"] .btn-admin-entry::after {
    background: linear-gradient(115deg, transparent 34%, rgba(250, 204, 21, 0.18) 49%, rgba(255, 244, 195, 0.42) 52%, transparent 66%);
}

html[data-theme="dark"] .support-help-note {
    background: rgba(37, 99, 235, 0.14);
    border-color: rgba(96, 165, 250, 0.22);
    color: #c7dcff;
}

html[data-theme="dark"] .support-schedule-list strong {
    color: #eef4ff;
}

html[data-theme="dark"] .support-schedule-row {
    background: #0b1324;
    border-color: rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] .calc-panel--aside {
    background: #0a1326;
    border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .hero-copy .display-4,
html[data-theme="dark"] .page-hero .display-5,
html[data-theme="dark"] .page-hero h2,
html[data-theme="dark"] .shell-card .h3,
html[data-theme="dark"] .content-soft .h4,
html[data-theme="dark"] .content-soft .h5,
html[data-theme="dark"] .feature-card h3 {
    color: #f7fbff !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .page-hero {
    max-width: 52rem;
}

html[data-theme="dark"] .swap-button {
    box-shadow:
        0 0 0 0.38rem #121a2d,
        0 18px 32px rgba(3, 7, 18, 0.42);
}

html[data-theme="dark"] .requisite-picker__display {
    border-color: rgba(96, 165, 250, 0.24);
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.04)),
        #0b1220;
    box-shadow: 0 0 0 0.4rem rgba(37, 99, 235, 0.1);
}

html[data-theme="dark"] .requisite-picker__value,
html[data-theme="dark"] .requisite-picker__icon {
    color: #eff6ff;
}

html[data-theme="dark"] .requisite-picker:focus-within .requisite-picker__display {
    box-shadow:
        0 0 0 0.35rem rgba(59, 130, 246, 0.14),
        0 0 0 0.7rem rgba(37, 99, 235, 0.07);
}

html[data-theme="dark"] .contact-method__icon--blue {
    background: rgba(59, 130, 246, 0.16);
    color: #60a5fa;
}

html[data-theme="dark"] .contact-method__icon--green {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
}

html[data-theme="dark"] .contact-method__icon--yellow {
    background: rgba(234, 179, 8, 0.16);
    color: #facc15;
}

html[data-theme="dark"] .support-icon--email {
    background: rgba(250, 204, 21, 0.12);
}

html[data-theme="dark"] .support-icon--telegram {
    background: rgba(96, 165, 250, 0.12);
}

html[data-theme="dark"] .support-icon--hours {
    background: rgba(74, 222, 128, 0.12);
}

@media (max-width: 991.98px) {
    .admin-quick-grid {
        grid-template-columns: 1fr;
    }

    .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .auth-actions {
        align-items: stretch !important;
    }

    .auth-actions .btn,
    .auth-actions form,
    .auth-actions form .btn {
        width: 100%;
    }

    .admin-toolbar form {
        width: 100%;
    }

    .calc-panel--aside {
        position: static;
        min-height: 0;
    }

    .support-schedule-row {
        grid-template-columns: 1fr 1fr;
    }

    .support-schedule-row__day,
    .support-schedule-row__note {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .hero-spotlight {
        padding-top: 2.6rem;
        padding-bottom: 0.6rem;
    }

    .page-hero {
        margin-bottom: 1.5rem;
    }

    .shell-card .card-body,
    .feature-card,
    .stats-band,
    .content-highlight,
    .content-soft,
    .tier-card,
    .review-card,
    .mini-card,
    .notice-card,
    .warning-card {
        padding: 1.35rem !important;
    }

    .exchange-input-grid {
        grid-template-columns: 1fr;
    }

    .exchange-direction-stack {
        gap: 1.2rem;
    }

    .requisite-picker__display {
        padding: 0.78rem 1rem;
    }

    .requisite-picker__value {
        font-size: 1rem;
    }

    .exchange-form-layout > [class*="col-lg-"] + [class*="col-lg-"] {
        margin-top: 0.5rem;
    }

    .exchange-form-layout > .col-lg-5 {
        display: block;
    }

    .admin-toolbar .btn {
        width: 100%;
    }

    .mobile-theme-switch__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .calc-panel__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .rules-step,
    .contact-method {
        gap: 0.85rem;
    }

    .stat-value,
    .stats-band__value,
    .tier-discount {
        font-size: 2rem;
    }

    .support-schedule-row {
        grid-template-columns: 1fr;
    }
}

@keyframes admin-shimmer {
    from {
        transform: translateX(-160%) rotate(10deg);
    }
    to {
        transform: translateX(170%) rotate(10deg);
    }
}
