/* =====================================================================
   BlinkBuy - Light theme (clean, paper neutral)
   - Tokens: see :root
   - Components: navbar, page, card, form, table, modal, badge, button
   - Compatibility shims: kills legacy animations and inline black overlays
   ===================================================================== */

:root {
    --bg-page: #f6f7f9;
    --bg-surface: #ffffff;
    --bg-muted: #f0f2f5;
    --bg-soft: #fafbfc;

    --border: #e3e6eb;
    --border-strong: #cfd4dc;

    --text: #1f2430;
    --text-muted: #5b6473;
    --text-faint: #8a93a3;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: rgba(37, 99, 235, 0.12);

    --success: #10b981;
    --success-soft: #d1fae5;
    --warning: #f59e0b;
    --warning-soft: #fef3c7;
    --danger: #ef4444;
    --danger-soft: #fee2e2;
    --info: #0ea5e9;
    --info-soft: #e0f2fe;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.05);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;

    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
        "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-page) !important;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-attachment: scroll !important;
}

html,
body,
p,
span,
div,
label,
small,
strong,
th,
td,
li {
    color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 600;
    margin-top: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 16px 0;
}

/* ---------- Kill legacy animations / glow / motion ---------- */

.animate,
.animate2,
.animate3,
.glow {
    animation: none !important;
    text-shadow: none !important;
}

.shadow {
    text-shadow: none !important;
}

@keyframes glow { from { } to { } }
@keyframes motion { from { } to { } }
@keyframes color-change { from { } to { } }
@keyframes color-change2 { from { } to { } }

/* ---------- Inline-style shim: previous pages used rgba(0,0,0,0.x) black overlays ---------- */

[style*="rgba(0, 0, 0"],
[style*="rgba(0,0,0"] {
    background-color: var(--bg-surface) !important;
    color: var(--text) !important;
}

/* Restrict shim within the page surface; let modal backdrop keep its own bg */
.modal-backdrop[style*="rgba(0"] {
    background-color: rgba(15, 23, 42, 0.45) !important;
}

/* Force-readable inline color overrides used in legacy markup */
[style*="color:#0ff"],
[style*="color: #0ff"],
[style*="color:#0f0"],
[style*="color: #0f0"],
[style*="color:#fff"],
[style*="color: #fff"],
[style*="color:#FC00FF"],
[style*="color: #FC00FF"] {
    color: var(--text) !important;
}

/* ---------- Layout ---------- */

.page {
    max-width: 1120px;
    margin: 24px auto 64px;
    padding: 0 16px;
}

.page--narrow {
    max-width: 720px;
}

.page--auth {
    max-width: 440px;
    margin: 60px auto;
}

/* ---------- Navbar ---------- */

.site-nav {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(6px);
}

.site-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo only: fixed slot so size does not reflow the rest of the nav */
.site-nav__logo-cell {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -8px;
}
.site-nav__logo-cell img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

.site-nav__brand {
    font-weight: 700;
    font-size: 17px;
    color: var(--text);
    white-space: nowrap;
    margin-right: 4px;
}
.site-nav__brand:hover {
    color: var(--text);
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    flex-wrap: wrap;
}

.site-nav__link {
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    position: relative;
}
.site-nav__link:hover {
    color: var(--text);
    background: var(--bg-muted);
}
.site-nav__link.is-active {
    color: var(--primary);
    background: var(--primary-soft);
}

.site-nav__right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
}

.balance-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--success-soft);
    color: #047857;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-muted);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 28px 6px 10px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%235b6473' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.lang-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.site-nav__toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 820px) {
    .site-nav__toggle {
        display: inline-flex;
    }
    .site-nav__links,
    .site-nav__right {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding-top: 8px;
        border-top: 1px solid var(--border);
        margin-top: 8px;
    }
    .site-nav__right { margin-left: 0; }
    .site-nav.is-open .site-nav__links,
    .site-nav.is-open .site-nav__right {
        display: flex;
    }
    .site-nav__inner {
        flex-wrap: wrap;
    }
    .site-nav__link {
        padding: 10px 12px;
    }
}

/* ---------- Card ---------- */

.card {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 20px;
    color: var(--text) !important;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin: -8px 0 16px;
}

.card-section + .card-section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* Bootstrap card overrides (legacy markup) */
.card-header,
.card-body,
.card-footer {
    background: transparent !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

/* ---------- Forms ---------- */

.form-stack {
    display: grid;
    gap: 14px;
    max-width: 420px;
}

.form-stack--wide {
    max-width: none;
}

.form-group {
    margin-bottom: 14px;
}

label,
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-control,
.custom-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
select,
textarea {
    background-color: var(--bg-surface) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.form-control:focus,
.custom-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-soft) !important;
    outline: none;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--text-faint);
}

.form-control[disabled],
.form-control:disabled {
    background: var(--bg-muted) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed;
}

select option {
    background-color: var(--bg-surface);
    color: var(--text);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
    background: var(--bg-surface);
    color: var(--text);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.btn-primary,
.btn.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}
.btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}

.btn-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: #ffffff !important;
}
.btn-warning {
    background: var(--warning) !important;
    border-color: var(--warning) !important;
    color: #ffffff !important;
}
.btn-danger {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
    color: #ffffff !important;
}
.btn-secondary {
    background: var(--bg-muted) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.btn-outline-secondary,
.btn-outline-dark,
.btn-dark {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
}
.btn-outline-secondary:hover,
.btn-outline-dark:hover,
.btn-dark:hover {
    background: var(--bg-muted) !important;
    color: var(--text) !important;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn[disabled],
.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ---------- Tables ---------- */

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-surface) !important;
    color: var(--text) !important;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.table thead th {
    background: var(--bg-muted) !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 13px;
    text-transform: none;
    padding: 12px 14px !important;
    border-bottom: 1px solid var(--border) !important;
    border-top: none !important;
}

.table tbody td {
    background: var(--bg-surface) !important;
    color: var(--text) !important;
    padding: 12px 14px !important;
    border-top: 1px solid var(--border) !important;
    vertical-align: middle;
    font-size: 14px;
}

.table-dark,
.table.table-dark,
.table-striped {
    background: var(--bg-surface) !important;
    color: var(--text) !important;
}

.table-striped tbody tr:nth-of-type(odd) td {
    background: var(--bg-soft) !important;
}

.table-hover tbody tr:hover td {
    background: var(--bg-muted) !important;
}

.table td,
.table th {
    border-color: var(--border) !important;
}

/* ---------- Badges ---------- */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    background: var(--bg-muted);
    color: var(--text-muted);
}

.badge-success { background: var(--success-soft) !important; color: #047857 !important; }
.badge-warning { background: var(--warning-soft) !important; color: #92400e !important; }
.badge-danger  { background: var(--danger-soft)  !important; color: #b91c1c !important; }
.badge-info    { background: var(--info-soft)    !important; color: #075985 !important; }
.badge-secondary { background: var(--bg-muted) !important; color: var(--text-muted) !important; }
.badge-dark    { background: #1f2937 !important; color: #ffffff !important; }
.badge-primary { background: var(--primary-soft) !important; color: var(--primary-hover) !important; }

/* ---------- Alerts ---------- */

.alert {
    border-radius: var(--radius);
    padding: 12px 14px;
    border: 1px solid transparent;
    font-size: 14px;
    margin-bottom: 14px;
}
.alert-danger {
    background: var(--danger-soft);
    border-color: #fecaca;
    color: #b91c1c;
}
.alert-success {
    background: var(--success-soft);
    border-color: #a7f3d0;
    color: #065f46;
}
.alert-info {
    background: var(--info-soft);
    border-color: #bae6fd;
    color: #075985;
}
.alert-warning {
    background: var(--warning-soft);
    border-color: #fde68a;
    color: #92400e;
}

/* ---------- Text helpers (Bootstrap remap) ---------- */

.text-white,
.text-light {
    color: var(--text) !important;
}
.text-dark { color: var(--text) !important; }
.text-muted,
.text-secondary,
.text-body,
.text-black-50,
.text-white-50 {
    color: var(--text-muted) !important;
}
.text-primary { color: var(--primary) !important; }
.text-info { color: var(--info) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }

/* ---------- Code & pre ---------- */

code {
    background: var(--bg-muted);
    border-radius: 4px;
    padding: 2px 6px;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 13px;
}

pre {
    background: var(--bg-soft) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: var(--radius-sm);
    padding: 14px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ---------- Modal (Bootstrap 4 markup) ---------- */

.modal-content {
    background: var(--bg-surface) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg);
}
.modal-header {
    border-bottom: 1px solid var(--border) !important;
}
.modal-footer {
    border-top: 1px solid var(--border) !important;
}
.modal-title {
    color: var(--text);
}
.modal-header .close,
.modal-header .close span {
    color: var(--text-muted) !important;
    opacity: 0.9;
    text-shadow: none;
}

/* ---------- Select2 (light overrides) ---------- */

.select2-container--default .select2-selection--single {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    min-height: 40px;
    border-radius: 8px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text) !important;
    line-height: 38px !important;
    font-weight: 500;
    font-size: 14px !important;
    padding-left: 12px;
    padding-right: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--text-faint) !important;
    opacity: 1;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--text-muted) transparent transparent transparent !important;
}

.select2-dropdown {
    border-radius: 8px !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: var(--bg-surface) !important;
    color: var(--text) !important;
}

.select2-container--default .select2-results > .select2-results__options {
    background-color: var(--bg-surface) !important;
    color: var(--text) !important;
}

.select2-container--default .select2-results__option {
    color: var(--text) !important;
    font-size: 14px;
    padding: 8px 12px;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option--selected {
    background: var(--primary-soft) !important;
    color: var(--primary-hover) !important;
}

.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--primary) !important;
    color: #ffffff !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 14px;
    margin: 8px;
    width: calc(100% - 16px);
}

.purchase-panel .select2-container,
.select2-container {
    width: 100% !important;
}

/* ---------- Auth (sign in / sign up) ---------- */

.auth-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 32px 28px;
    max-width: 420px;
    margin: 60px auto;
}
.auth-card__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 6px;
    text-align: center;
}
.auth-card__subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 22px;
    text-align: center;
}
.auth-card .h-captcha {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}
.auth-card .form-group {
    margin-bottom: 14px;
}
.auth-card .btn-block {
    margin-top: 6px;
}
.auth-card__footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 16px;
}

/* ---------- Home purchase panel ---------- */

.purchase-panel {
    width: 100%;
}

.purchase-steps {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.purchase-step {
    flex: 1 1 160px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    background: var(--bg-soft);
    transition: border-color 0.15s, background 0.15s;
}

.purchase-step .step-no {
    font-size: 11px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.purchase-step .step-name {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.purchase-step.is-active {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.purchase-step.is-active .step-no {
    color: var(--primary-hover);
}
.purchase-step.is-active .step-name {
    color: var(--primary-hover);
    font-weight: 600;
}

.purchase-summary {
    margin: 4px 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px dashed var(--border);
    background: var(--bg-soft);
    color: var(--text-muted);
    font-size: 13px;
    min-height: 38px;
}

.price-summary {
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-soft);
    padding: 10px 14px;
}

.price-summary .line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}
.price-summary .line + .line {
    margin-top: 6px;
}
.price-summary .line .value {
    color: var(--text);
    font-weight: 600;
}
.price-summary .hint {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--border);
    color: var(--primary);
    font-size: 12px;
}

.buy-action-row {
    align-items: end;
}
.buy-action-row .btn {
    min-width: 132px;
    height: 42px;
    font-size: 15px;
    font-weight: 600;
}

.qty-group {
    display: flex;
    align-items: center;
    gap: 6px;
}
.qty-btn {
    width: 36px;
    height: 38px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}
.qty-btn:hover {
    background: var(--bg-muted);
}
.qty-input {
    text-align: center;
    max-width: 90px;
}

.buy-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    .buy-sticky-bar {
        display: block;
        position: sticky;
        bottom: 0;
        z-index: 20;
        margin-top: 12px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(6px);
        border-top: 1px solid var(--border);
        padding: 10px;
    }
    .buy-sticky-bar .btn {
        width: 100%;
        height: 44px;
        font-size: 15px;
    }
}

/* ---------- API doc layout ---------- */

.api-overview {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px 18px;
    align-items: center;
}
.api-overview dt {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}
.api-overview dd {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 13px;
    word-break: break-all;
}

.api-endpoint {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-soft);
    color: var(--primary-hover);
    border-radius: 6px;
    padding: 3px 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
}

.api-section details {
    margin-top: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    background: var(--bg-soft);
}
.api-section details + details {
    margin-top: 8px;
}
.api-section summary {
    cursor: pointer;
    font-weight: 500;
    color: var(--text);
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
    padding: 24px 20px;
    margin-top: 40px;
}
.site-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}
.site-footer a {
    color: var(--text-muted);
}
.site-footer a:hover {
    color: var(--text);
}
.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

/* ---------- Misc legacy compatibility ---------- */

.container,
.container-fluid {
    width: 100%;
}

.spinner-grow {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.opaque {
    background-color: var(--bg-surface);
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.mySlides { display: none; }

/* Honor reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
