/* ===== CSS VARIABLES - LIGHT THEME ===== */
:root,
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f1eb;
    --bg-tertiary: #ede8df;
    --bg-card: #ffffff;
    --bg-sidebar: #1b2a4a;
    --bg-sidebar-hover: #243560;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    --bg-input: #ffffff;
    --bg-badge: #c8a96e;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-tertiary: #ffffff;
    --text-muted: #7a7a8a;
    --text-inverse: #ffffff;
    --text-sidebar: #cbd5e1;
    --text-sidebar-active: #ffffff;
    --accent-primary: #1b3a6b;
    --accent-secondary: #c8a96e;
    --accent-tertiary: #8b1a1a;
    --accent-success: #2d6a4f;
    --accent-info: #2563eb;
    --accent-warning: #d4a017;
    --accent-danger: #9b2c2c;
    --border-color: #e2ddd5;
    --border-light: #f0ede7;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --gradient-hero: linear-gradient(135deg, #1b3a6b 0%, #0d1f3c 100%);
    --gradient-accent: linear-gradient(135deg, #c8a96e 0%, #a8894e 100%);
    --gradient-card: linear-gradient(180deg, rgba(27, 58, 107, 0.03) 0%, rgba(200, 169, 110, 0.05) 100%);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
    --bg-primary: #0f1923;
    --bg-secondary: #162030;
    --bg-tertiary: #1c2940;
    --bg-card: #1a2638;
    --bg-sidebar: #0a1120;
    --bg-sidebar-hover: #162030;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --bg-input: #1c2940;
    --bg-badge: #c8a96e;
    --text-primary: #e8e6e3;
    --text-secondary: #a8b2c1;
    --text-tertiary: #000000;
    --text-muted: #6b7a8d;
    --text-inverse: #ffffff;
    --text-sidebar: #8899aa;
    --text-sidebar-active: #ffffff;
    --accent-primary: #3b6cb5;
    --accent-secondary: #d4b87a;
    --accent-tertiary: #c44040;
    --accent-success: #40916c;
    --accent-info: #5b8def;
    --accent-warning: #e8b830;
    --accent-danger: #c44040;
    --border-color: #253348;
    --border-light: #1c2940;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
    --gradient-hero: linear-gradient(135deg, #0d1f3c 0%, #060d18 100%);
    --gradient-card: linear-gradient(180deg, rgba(59, 108, 181, 0.05) 0%, rgba(212, 184, 122, 0.03) 100%);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Open Sans", sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
    overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Merriweather", serif;
    color: var(--text-primary);
}
a {
    text-decoration: none;
    color: var(--accent-primary);
    transition: var(--transition);
}
a:hover {
    color: var(--accent-secondary);
}

/* ===== Ajustes ===== */
@media (min-width: 1601px) {
    .d-xxl-inline{
        display: inline !important;
    }
}
@media (min-width: 1401px) {
    .d-xl-inline{
        display: inline !important;
    }
}
@media (min-width: 1201px) {
    .d-lg-inline{
        display: inline !important;
    }
}
@media (max-width: 991px) {
    .d-none-md {
        display: none !important;
    }
    .d-block-md {
        display: block !important;
    }
}
@media (min-width: 992px) {
    .d-md-inline{
        display: inline !important;
    }
}
@media (max-width: 767px) {
    .d-none-sm {
        display: none !important;
    }
    .d-block-sm {
        display: block !important;
    }
}
@media (min-width: 768px) {
    .d-sm-inline{
        display: inline !important;
    }
}
@media (max-width: 575px) {
    .d-none-xs {
        display: none !important;
    }
    .d-block-xs {
        display: block !important;
    }
}
@media (min-width: 576px) {
    .d-xs-inline{
        display: inline !important;
    }
}
@media (min-width: 481px) {
    .d-xxs-inline{
        display: inline !important;
    }
}
@media (min-width: 390px) {
    .d-xxxs-inline{
        display: inline !important;
    }
}


.d-flex-inline-flex{
    display: inline-flex!important;
}


/* ===== Typography ===== */
.t-display{font-family:'Merriweather',serif;font-size:2.5rem;font-weight:900;line-height:1.2;color:var(--text-primary)}
.t-h1{font-family:'Merriweather',serif;font-size:2rem;font-weight:700;line-height:1.25;color:var(--text-primary)}
.t-h2{font-family:'Merriweather',serif;font-size:1.5rem;font-weight:700;line-height:1.3;color:var(--text-primary)}
.t-h3{font-family:'Merriweather',serif;font-size:1.25rem;font-weight:700;line-height:1.35;color:var(--text-primary)}
.t-h4{font-family:'Merriweather',serif;font-size:1.05rem;font-weight:700;line-height:1.4;color:var(--text-primary)}
.t-h5{font-family:'Merriweather',serif;font-size:.9rem;font-weight:700;line-height:1.4;color:var(--text-primary)}
.t-lead{font-family:'Open Sans',sans-serif;font-size:1.05rem;font-weight:400;line-height:1.7;color:var(--text-secondary)}
.t-body{font-family:'Open Sans',sans-serif;font-size:.9rem;font-weight:400;line-height:1.7;color:var(--text-secondary)}
.t-small{font-family:'Open Sans',sans-serif;font-size:.8rem;font-weight:400;line-height:1.6;color:var(--text-muted)}
.t-caption{font-family:'Open Sans',sans-serif;font-size:.72rem;font-weight:500;line-height:1.5;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}
.t-overline{font-family:'Open Sans',sans-serif;font-size:.65rem;font-weight:700;line-height:1.4;color:var(--text-muted);text-transform:uppercase;letter-spacing:1.5px}
.t-quote{font-family:'Merriweather',serif;font-size:1.1rem;font-style:italic;font-weight:400;line-height:1.8;color:var(--text-secondary);border-left:4px solid var(--accent-secondary);padding-left:20px;margin:0}
.t-quote-author{font-family:'Open Sans',sans-serif;font-size:.78rem;font-weight:600;color:var(--text-muted);margin-top:10px;display:block}
.t-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.t-badge-primary{background:rgba(27,58,107,.1);color:var(--accent-primary)}
.t-badge-gold{background:rgba(200,169,110,.15);color:var(--accent-secondary)}
.t-badge-success{background:rgba(45,106,79,.1);color:var(--accent-success)}
.t-badge-danger{background:rgba(155,44,44,.1);color:var(--accent-danger)}
.t-badge-warning{background:rgba(212,160,23,.12);color:var(--accent-warning)}
.t-badge-info{background:rgba(37,99,235,.1);color:var(--accent-info)}
.t-badge-solid-primary{background:var(--accent-primary);color:#fff}
.t-badge-solid-gold{background:var(--accent-secondary);color:#fff}
.t-highlight{background:rgba(200,169,110,.25);padding:1px 4px;border-radius:3px;color:var(--text-primary)}
.t-highlight-blue{background:rgba(27,58,107,.1);padding:1px 4px;border-radius:3px;color:var(--accent-primary)}
.t-code{font-family:monospace;font-size:.82rem;background:var(--bg-tertiary);color:var(--accent-primary);padding:2px 7px;border-radius:4px;border:1px solid var(--border-color)}
.t-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.t-list li{display:flex;align-items:flex-start;gap:10px;font-size:.85rem;color:var(--text-secondary);line-height:1.6}
.t-list li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent-secondary);flex-shrink:0;margin-top:7px}
.t-list.check li::before{display:none}
.t-list.check li i{color:var(--accent-success);flex-shrink:0;margin-top:2px}
.t-link-default{color:var(--accent-primary);font-weight:600;text-decoration:none;transition:color .2s}
.t-link-default:hover{color:var(--accent-secondary);text-decoration:underline}
.t-link-gold{color:var(--accent-secondary);font-weight:600;text-decoration:none;transition:color .2s}
.t-link-gold:hover{color:var(--accent-primary)}
.t-link-muted{color:var(--text-muted);font-weight:500;text-decoration:none;transition:color .2s}
.t-link-muted:hover{color:var(--text-primary)}

/* ===== Padrões comuns ===== */
    .text-center {
        text-align: center;
    }
    .text-justify {
        text-align: justify;
    }
    .modal-footer{
        justify-content: space-between !important;
    }

/* ===== SCROLLBAR ===== */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: var(--bg-secondary);
    }
    ::-webkit-scrollbar-thumb {
        background: var(--accent-secondary);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-primary);
    }


/* ── CARDS COM BORDA ── */
    .card-border-1 {
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        padding: 16px;
        background: var(--bg-card);
    }
    .card-border-2 {
        border: 2px solid var(--accent-primary);
        border-radius: var(--radius-sm);
        padding: 16px;
        background: var(--bg-card);
    }
    .card-border-3 {
        border: 2px solid var(--accent-secondary);
        border-radius: var(--radius-sm);
        padding: 16px;
        background: var(--bg-card);
    }
    .card-border-4 {
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 16px;
        background: var(--bg-card);
        box-shadow: var(--shadow-sm);
    }
    .card-border-5 {
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 16px;
        background: var(--bg-card);
        box-shadow: var(--shadow-md);
    }
    .card-border-6 {
        border: none;
        border-radius: var(--radius-md);
        padding: 16px;
        background: var(--gradient-card);
        box-shadow: var(--shadow-lg);
    }
    .card-border-7 {
        border: 1px dashed var(--border-color);
        border-radius: var(--radius-md);
        padding: 16px;
        background: transparent;
    }
    .card-border-8 {
        border: 2px dashed var(--accent-primary);
        border-radius: var(--radius-md);
        padding: 16px;
        background: rgba(27, 58, 107, 0.04);
    }

/* ── TOP BAR ── */
    .card-topbar {
        border: 1px solid var(--border-color);
        border-top: 4px solid var(--accent-primary);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        padding: 16px;
        background: var(--bg-card);
    }
    .card-topbar.gold {
        border-top-color: var(--accent-secondary);
    }
    .card-topbar.danger {
        border-top-color: var(--accent-danger);
    }
    .card-topbar.success {
        border-top-color: var(--accent-success);
    }

/* ── BOTTOM BAR ── */
    .card-bottombar {
        border-bottom: 4px solid var(--accent-primary);
    }
    .card-bottombar.gold {
        border-bottom-color: var(--accent-secondary);
    }
    .card-bottombar.danger {
        border-bottom-color: var(--accent-danger);
    }
    .card-bottombar.success {
        border-bottom-color: var(--accent-success);
    }


/* ── RIGHT BAR ── */
    .card-rightbar {
        border-right: 4px solid var(--accent-primary);
    }
    .card-rightbar.gold {
        border-right-color: var(--accent-secondary);
    }
    .card-rightbar.danger {
        border-right-color: var(--accent-danger);
    }
    .card-rightbar.success {
        border-right-color: var(--accent-success);
    }

/* ── LEFT BAR ── */
    .card-leftbar {
        border: 1px solid var(--border-color);
        border-left: 4px solid var(--accent-primary);
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
        padding: 16px;
        background: var(--bg-card);
    }
    .card-leftbar.gold {
        border-left-color: var(--accent-secondary);
    }
    .card-leftbar.danger {
        border-left-color: var(--accent-danger);
    }
    .card-leftbar.success {
        border-left-color: var(--accent-success);
    }
    .card-leftbar.warning {
        border-left-color: var(--accent-warning);
    }
    .card-leftbar {
        border-left: 4px solid var(--accent-info);
    }


/* ── BORDER ── */
    .border-1px {
        border: 1px solid var(--border-color);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }
    .border-2px {
        border: 2px solid var(--border-color);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }
    .border-dashed-1px {
        border: 1px dashed var(--border-color);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }
    .border-dashed-2px {
        border: 2px dashed var(--border-color);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }
    .border-solid-1px {
        border: 1px solid var(--border-color);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }
    .border-solid-2px {
        border: 2px solid var(--border-color);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }


/* ── RADIUS ── */
    .r-none {
        border-radius: 0 !important;
    }
    .r-sm {
        border-radius: var(--radius-sm) !important;
    }
    .r-md {
        border-radius: var(--radius-md) !important;
    }
    .r-lg {
        border-radius: var(--radius-lg) !important;
    }
    .r-xl {
        border-radius: var(--radius-xl) !important;
    }
    .r-full {
        border-radius: 999px !important;
    }
    .radius-box {
        border: 2px solid var(--accent-primary);
        background: rgba(27, 58, 107, 0.06);
        padding: 18px 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--accent-primary);
        min-height: 64px;
    }

/* ── SHADOWS ── */
    .shadow-box {
        background: var(--bg-card);
        border: 1px solid var(--border-light);
        padding: 20px 16px;
        border-radius: var(--radius-md);
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-secondary);
        text-align: center;
    }

/* ── DIVIDERS ── */
    .divider-1 {
        border: none;
        border-top: 1px solid var(--border-color);
        margin: 0;
    }
    .divider-2 {
        border: none;
        border-top: 2px solid var(--accent-primary);
        margin: 0;
    }
    .divider-3 {
        border: none;
        border-top: 2px solid var(--accent-secondary);
        margin: 0;
    }
    .divider-4 {
        border: none;
        border-top: 1px dashed var(--border-color);
        margin: 0;
    }
    .divider-text {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--text-muted);
        font-size: 0.78rem;
        font-weight: 600;
    }
    .divider-text::before,
    .divider-text::after {
        content: "";
        flex: 1;
        border-top: 1px solid var(--border-color);
    }

/* ===== GRID ===== */
    .grid-4 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    .grid-3 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    .grid-2 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    .grid-1 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

/* ===== LABELS ===== */
    .label-xs {
        font-size: 0.62rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-sm {
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-md {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-lg {
        font-size: 0.92rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-xl {
        font-size: 1.02rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-xxl {
        font-size: 1.12rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-xxxl {
        font-size: 1.22rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-xxxxl {
        font-size: 1.32rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-xxxxxl {
        font-size: 1.42rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-xxxxxxl {
        font-size: 1.52rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }
    .label-xxxxxxl {
        font-size: 1.62rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 6px;
    }


/* ── OUTLINE CARDS ── */
    .card-outline-success {
        border: 1.5px solid var(--accent-success);
        border-radius: var(--radius-sm);
        padding: 16px;
        background: rgba(45, 106, 79, 0.04);
    }
    .card-outline-danger {
        border: 1.5px solid var(--accent-danger);
        border-radius: var(--radius-sm);
        padding: 16px;
        background: rgba(155, 44, 44, 0.04);
    }
    .card-outline-warning {
        border: 1.5px solid var(--accent-warning);
        border-radius: var(--radius-sm);
        padding: 16px;
        background: rgba(212, 160, 23, 0.05);
    }
    .card-outline-info {
        border: 1.5px solid var(--accent-info);
        border-radius: var(--radius-sm);
        padding: 16px;
        background: rgba(37, 99, 235, 0.04);
    }

    .card-title-demo {
        font-family: "Merriweather", serif;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 4px;
    }
    .card-text-demo {
        font-size: 0.78rem;
        color: var(--text-muted);
        line-height: 1.5;
    }

/* ── TYPOGRAPHY ── */
    .type-meta {
        font-size: 0.68rem;
        color: var(--text-muted);
        font-family: monospace;
        margin-top: 4px;
        display: block;
    }
    .t-display {
        font-family: "Merriweather", serif;
        font-size: 2.5rem;
        font-weight: 900;
        line-height: 1.2;
        color: var(--text-primary);
    }
    .t-h1 {
        font-family: "Merriweather", serif;
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.25;
        color: var(--text-primary);
    }
    .t-h2 {
        font-family: "Merriweather", serif;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text-primary);
    }
    .t-h3 {
        font-family: "Merriweather", serif;
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.35;
        color: var(--text-primary);
    }
    .t-h4 {
        font-family: "Merriweather", serif;
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.4;
        color: var(--text-primary);
    }
    .t-h5 {
        font-family: "Merriweather", serif;
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.4;
        color: var(--text-primary);
    }
    .t-lead {
        font-family: "Open Sans", sans-serif;
        font-size: 1.05rem;
        font-weight: 400;
        line-height: 1.7;
        color: var(--text-secondary);
    }
    .t-body {
        font-family: "Open Sans", sans-serif;
        font-size: 0.9rem;
        font-weight: 400;
        line-height: 1.7;
        color: var(--text-secondary);
    }
    .t-small {
        font-family: "Open Sans", sans-serif;
        font-size: 0.8rem;
        font-weight: 400;
        line-height: 1.6;
        color: var(--text-muted);
    }
    .t-caption {
        font-family: "Open Sans", sans-serif;
        font-size: 0.72rem;
        font-weight: 500;
        line-height: 1.5;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .t-overline {
        font-family: "Open Sans", sans-serif;
        font-size: 0.65rem;
        font-weight: 700;
        line-height: 1.4;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }
    .t-quote {
        font-family: "Merriweather", serif;
        font-size: 1.1rem;
        font-style: italic;
        font-weight: 400;
        line-height: 1.8;
        color: var(--text-secondary);
        border-left: 4px solid var(--accent-secondary);
        padding-left: 20px;
        margin: 0;
    }
    .t-quote-author {
        font-family: "Open Sans", sans-serif;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--text-muted);
        margin-top: 10px;
        display: block;
    }
    .t-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .t-badge-primary {
        background: rgba(27, 58, 107, 0.1);
        color: var(--accent-primary);
    }
    .t-badge-gold {
        background: rgba(200, 169, 110, 0.15);
        color: var(--accent-secondary);
    }
    .t-badge-success {
        background: rgba(45, 106, 79, 0.1);
        color: var(--accent-success);
    }
    .t-badge-danger {
        background: rgba(155, 44, 44, 0.1);
        color: var(--accent-danger);
    }
    .t-badge-warning {
        background: rgba(212, 160, 23, 0.12);
        color: var(--accent-warning);
    }
    .t-badge-info {
        background: rgba(37, 99, 235, 0.1);
        color: var(--accent-info);
    }
    .t-badge-solid-primary {
        background: var(--accent-primary);
        color: #fff;
    }
    .t-badge-solid-gold {
        background: var(--accent-secondary);
        color: #fff;
    }
    .t-highlight {
        background: rgba(200, 169, 110, 0.25);
        padding: 1px 4px;
        border-radius: 3px;
        color: var(--text-primary);
    }
    .t-highlight-blue {
        background: rgba(27, 58, 107, 0.1);
        padding: 1px 4px;
        border-radius: 3px;
        color: var(--accent-primary);
    }
    .t-code {
        font-family: monospace;
        font-size: 0.82rem;
        background: var(--bg-tertiary);
        color: var(--accent-primary);
        padding: 2px 7px;
        border-radius: 4px;
        border: 1px solid var(--border-color);
    }
    .t-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .t-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.85rem;
        color: var(--text-secondary);
        line-height: 1.6;
    }
    .t-list li::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent-secondary);
        flex-shrink: 0;
        margin-top: 7px;
    }
    .t-list.check li::before {
        display: none;
    }
    .t-list.check li i {
        color: var(--accent-success);
        flex-shrink: 0;
        margin-top: 2px;
    }
    .t-link-default {
        color: var(--accent-primary);
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s;
    }
    .t-link-default:hover {
        color: var(--accent-secondary);
        text-decoration: underline;
    }
    .t-link-gold {
        color: var(--accent-secondary);
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s;
    }
    .t-link-gold:hover {
        color: var(--accent-primary);
    }
    .t-link-muted {
        color: var(--text-muted);
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s;
    }
    .t-link-muted:hover {
        color: var(--text-primary);
    }


/* ===== TOP BAR ===== */
.top-bar, .bar-alert, .bar-ticker, .bar-conta {
    padding: 8px 0;
    font-size: 0.8rem;
}
.top-bar a:hover {
    color: var(--accent-primary);
    background: rgba(27, 58, 107, 0.06);
    border-radius: var(--radius-sm);
}
.top-bar .separator {
    margin: 0 10px;
    opacity: 0.3;
}
.bar-alert{
    background: var(--bg-badge);
    color:var(--text-primary) !important;
    border-bottom: 2px solid var(--border-light);
}
.bar-alert a {
    color: var(--text-primary);
}
.bar-conta {
    background: var(--bg-card);
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-color);
}
.bar-conta a {
    color: var(--text-primary);
}
.bar-conta .meu-perfil {
    font-size: 0.8rem;
    font-weight: normal;
    font-family: "Open Sans", sans-serif;
}
.bar-conta .logo {
    font-size: 2.8rem;
}
.bar-conta .logo img {
    width: 70px;
    height: 70px;
    margin-right: 20px;
}

@media (max-width: 991px) {
    .bar-conta .logo {
        font-size: 2.2rem;
    }
    .bar-conta .logo img {
        width: 50px;
        height: 50px;
    }
}
@media (max-width: 767px) {
    .bar-conta .logo {
        font-size: 1.8rem;
    }
    .bar-conta .logo img {
        width: 40px;
        height: 40px;
    }
}

/* ===== ticker ===== */
.top-bar.bar-ticker {
    background: var(--gradient-hero);
    border-top: 2px solid var(--accent-secondary);
    border-bottom: 2px solid var(--accent-secondary);
    padding: 0;
    overflow: hidden;
    user-select: none;
}

/* ── LAYOUT INTERNO ── */
.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    position: relative;
}

/* ── LABEL FIXO ── */
.ticker-label {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--accent-secondary);
    color: var(--text-tertiary);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px 4px 12px;
    border-radius: 3px 0 0 3px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    /* seta direita */
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
    margin-right: 6px;
}
.ticker-label i {
    font-size: 0.8rem;
}

/* ── TRILHA DO TICKER ── */
.ticker-track-wrap {
    overflow: hidden;
    flex: 1;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: ticker-scroll 18s linear infinite;
    width: max-content;
}
.ticker-track.paused {
    animation-play-state: paused;
}

/* ── ITEM ── */
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    padding: 0 32px 0 0;
    cursor: default;
    transition: color 0.2s;
}
.ticker-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}
.ticker-item a:hover {
    color: var(--accent-secondary);
}
.ticker-item i {
    color: var(--accent-secondary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ── DIVISOR ENTRE ITENS ── */
.ticker-dot {
    display: inline-flex;
    align-items: center;
    color: var(--accent-secondary);
    font-size: 0.55rem;
    padding: 0 20px 0 0;
    opacity: 0.7;
}

/* ── ANIMAÇÃO ── */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ── ÍCONE DE PAUSE ── */
.ticker-pause-icon {
    flex-shrink: 0;
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.ticker-track-wrap:hover ~ .ticker-pause-icon,
.ticker-pause-icon.active {
    color: var(--accent-secondary);
}


/* ===== HEADER / NAVBAR ===== */
.main-header {
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.main-header .navbar-brand {
    font-size: 1.8rem;
}
.main-header .navbar-brand img {
    width: 40px;
    height: 40px;
}
@media (max-width: 767px) {
    .main-header .navbar-brand {
        font-size: 1.4rem;
    }
    .main-header .navbar-brand img {
        width: 30px;
        height: 30px;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: "Merriweather", serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--accent-primary) !important;
}
.navbar-brand .brand-icon {
    width: 44px;
    height: 44px;
    /* margin-right: 10px; */
    /* background: var(--gradient-hero); */
    /* border-radius: var(--radius-md); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
    /* font-size: 1.3rem; */
    /* box-shadow: var(--shadow-sm); */
}
.navbar-brand span {
    color: var(--accent-secondary);
}


/* Desktop nav */
.nav-desktop .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.nav-desktop .nav-link:hover,
.nav-desktop .nav-link.active {
    color: var(--accent-primary) !important;
    background: rgba(27, 58, 107, 0.06);
}
.nav-desktop .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent-secondary);
    border-radius: 2px;
}
.nav-desktop .dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 220px;
    animation: dropIn 0.25s ease;
}
@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.nav-desktop .dropdown-item {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-desktop .dropdown-item:hover {
    background: rgba(27, 58, 107, 0.06);
    color: var(--accent-primary);
    transform: translateX(4px);
}
.nav-desktop .dropdown-item i {
    width: 22px;
    color: var(--accent-secondary);
    margin-right: 5px;
}
.nav-desktop .dropdown-item.active, .nav-desktop .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: var(--bg-badge);
}
.nav-desktop .dropdown-item.active i, .nav-desktop .dropdown-item:active i {
    color: var(--accent-primary);
}

/* Theme toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}
.theme-toggle:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    transform: rotate(20deg);
}



/* User avatar btn */
.user-avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.user-avatar-btn:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
}

/* Avatar no menu (header + sidebar mobile) — atualização via JS após upload no perfil */
.user-nav-avatar-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}
.nav-user-avatar-img--desktop {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.nav-user-avatar-img--sidebar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Modal busca de postagens (header) */
.posts-search-results .posts-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.posts-search-link {
    color: inherit;
    border-radius: var(--radius-sm);
    padding: 2px 0;
    transition: color 0.15s ease;
}
.posts-search-link:hover {
    color: var(--accent-secondary) !important;
}
.posts-search-link:hover .fw-semibold {
    color: var(--accent-secondary);
}
.posts-search-item {
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, outline 0.15s ease;
}
.posts-search-item.posts-search-item-active {
    outline: 2px solid var(--accent-info);
    outline-offset: 2px;
    background: rgba(37, 99, 235, 0.06);
}
.posts-search-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--bg-secondary);
}

/* Mobile hamburger */
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    font-size: 1.3rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.mobile-menu-btn:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

/* ===== MOBILE SIDEBAR ===== */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}
.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-sidebar);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mobile-sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.sidebar-header .brand {
    display: flex;
    align-items: center;
    /* gap: 10px; */
    color: #fff;
    font-family: "Merriweather", serif;
    font-weight: 700;
    font-size: 1.1rem;
}
.sidebar-header .brand-icon-sm {
    width: 36px;
    height: 36px;
    margin-right: 5px;
    background: rgba(200, 169, 110, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
    font-size: 1.1rem;
}
.sidebar-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Sidebar filter */
.sidebar-filter {
    padding: 16px 20px;
    flex-shrink: 0;
}
.sidebar-filter .filter-input-wrap {
    position: relative;
}
.sidebar-filter .filter-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}
.sidebar-filter input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}
.sidebar-filter input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.sidebar-filter input:focus {
    border-color: var(--accent-secondary);
    background: rgba(255, 255, 255, 0.1);
}

/* Sidebar nav */
    .sidebar-nav {
        flex: 1;
        overflow-y: auto;
        padding: 8px 12px 20px;
    }
    .sidebar-nav::-webkit-scrollbar {
        width: 4px;
    }
    .sidebar-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    .sidebar-section-label {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255, 255, 255, 0.25);
        padding: 16px 12px 6px;
        font-weight: 700;
    }

    .sidebar-nav-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 14px;
        border-radius: var(--radius-md);
        color: var(--text-sidebar);
        font-size: 0.88rem;
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
        user-select: none;
    }
    .sidebar-nav-item:hover {
        background: var(--bg-sidebar-hover);
        color: var(--text-sidebar-active);
    }
    .sidebar-nav-item.active {
        background: rgba(200, 169, 110, 0.12);
        color: var(--accent-secondary);
    }
    .sidebar-nav-item i {
        width: 20px;
        text-align: center;
        font-size: 1rem;
        flex-shrink: 0;
    }
    .sidebar-nav-item .chevron {
        margin-left: auto;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }
    .sidebar-nav-item.expanded .chevron {
        transform: rotate(90deg);
    }

    .sidebar-subnav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        padding-left: 20px;
    }
    .sidebar-subnav.open {
        max-height: 500px;
    }
    .sidebar-subnav .sidebar-nav-item {
        padding: 9px 14px;
        font-size: 0.82rem;
    }
    .sidebar-subnav .sidebar-nav-item i {
        font-size: 0.5rem;
    }

    .sidebar-nav-item.hidden-by-filter {
        display: none !important;
    }
    .sidebar-section-label.hidden-by-filter {
        display: none !important;
    }

/* Sidebar footer */
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.sidebar-footer .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sidebar-footer .user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}
.sidebar-footer .user-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
}
.sidebar-footer .user-role {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
}

/* ===== HERO ===== */
.hero-section {
    background: var(--gradient-hero);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 169, 110, 0.15);
    border: 1px solid rgba(200, 169, 110, 0.3);
    color: var(--accent-secondary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-title .highlight {
    color: var(--accent-secondary);
}
.hero-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 169, 110, 0.4);
    color: #fff;
}
.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-number {
    color: var(--accent-secondary);
    font-size: 1.8rem;
    font-weight: 900;
    font-family: "Merriweather", serif;
}
.hero-stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    margin-top: 4px;
}

.hero-image-area {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-visual .cross-icon {
    font-size: 6rem;
    color: rgba(200, 169, 110, 0.2);
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}
.hero-visual .orbit {
    position: absolute;
    border: 1px dashed rgba(200, 169, 110, 0.15);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}
.hero-visual .orbit-1 {
    width: 250px;
    height: 250px;
}
.hero-visual .orbit-2 {
    width: 350px;
    height: 350px;
    animation-direction: reverse;
    animation-duration: 30s;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== FEATURES GRID ===== */
.features-section {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(27, 58, 107, 0.08);
    color: var(--accent-primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
[data-theme="dark"] .section-badge {
    background: rgba(59, 108, 181, 0.15);
}
.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.feature-card:hover::before {
    transform: scaleX(1);
}
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1);
}
.fi-blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-info);
}
.fi-gold {
    background: rgba(200, 169, 110, 0.15);
    color: var(--accent-secondary);
}
.fi-green {
    background: rgba(45, 106, 79, 0.1);
    color: var(--accent-success);
}
.fi-red {
    background: rgba(155, 44, 44, 0.1);
    color: var(--accent-tertiary);
}
.fi-purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}
.fi-teal {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}
.feature-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== LATEST POSTS ===== */
.posts-section {
    padding: 80px 0;
    background: var(--bg-primary);
}
.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.post-thumb {
    height: 200px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.post-thumb i {
    font-size: 2.5rem;
    color: rgba(200, 169, 110, 0.3);
}
.post-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent-secondary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}
.post-body {
    padding: 24px;
}
.post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.post-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.post-body p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}
.post-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.post-author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
}
.post-author-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.post-read-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
}
.post-read-more:hover {
    color: var(--accent-secondary);
}

/* ===== COURSES SECTION ===== */
.courses-section {
    padding: 80px 0;
}
.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.course-banner {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.course-banner i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}
.course-banner .course-badge-free {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-success);
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
}
.cb-1 {
    background: linear-gradient(135deg, #1b3a6b, #2d5aa0);
}
.cb-2 {
    background: linear-gradient(135deg, #8b1a1a, #b83030);
}
.cb-3 {
    background: linear-gradient(135deg, #2d6a4f, #40916c);
}
.course-body {
    padding: 22px;
}
.course-body h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.course-body p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 16px;
}
.course-info {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.course-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C8A96E' fill-opacity='0.04'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l2 3.5-2 3z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-content {
    position: relative;
    z-index: 1;
}
.cta-section h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 16px;
}
.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ===== INNER PAGE LAYOUT ===== */
.page-banner {
    background: var(--gradient-hero);
    padding: 50px 0 40px;
    position: relative;
}
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner .container {
    position: relative;
    z-index: 1;
}
.breadcrumb-custom {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.82rem;
}
.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.5);
}
.breadcrumb-custom a:hover {
    color: var(--accent-secondary);
}
.breadcrumb-custom .sep {
    color: rgba(255, 255, 255, 0.3);
}
.breadcrumb-custom .current {
    color: var(--accent-secondary);
    font-weight: 600;
}
.page-banner h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
}
.page-banner p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.inner-content {
    padding: 50px 0 80px;
}

/* ===== CARDS GENERIC ===== */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
    /* height: 100%; */
}
/* .info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
} */
.info-card-hover:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.info-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.info-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.05rem;
}
.info-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== GAME CARDS ===== */
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.game-preview {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.game-preview i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
}
.game-preview .play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.game-card:hover .play-overlay {
    opacity: 1;
}
.play-overlay .play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}
.gp-1 {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}
.gp-2 {
    background: linear-gradient(135deg, #059669, #047857);
}
.gp-3 {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}
.game-info {
    padding: 22px;
}
.game-info h5 {
    font-weight: 700;
    margin-bottom: 6px;
}
.game-info p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 14px;
}
.game-stats {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.game-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}


/* ── TABS BASE ── */
    .tab-box {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 24px;
        margin-bottom: 16px;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tab-content-box {
        padding: 20px 0 4px;
        font-size: 0.85rem;
        color: var(--text-secondary);
        line-height: 1.7;
    }
    .tab-content-box .info-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(0);
    }


    .tabs-rb {
        display: flex;
        align-items: flex-end;
        gap: 0;
        border-bottom: 2px solid var(--border-color);
        overflow-x: auto;
    }
    .tabs-rb .tab-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 10px 18px;
        background: none;
        border: none;
        border-bottom: 2px solid transparent;
        margin-bottom: -2px;
        color: var(--text-muted);
        font-family: "Open Sans", sans-serif;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: var(--transition);
        text-decoration: none;
    }
    .tabs-rb .tab-btn:hover {
        color: var(--accent-primary);
    }
    .tabs-rb .tab-btn.active {
        color: var(--accent-primary);
        border-bottom-color: var(--accent-primary);
    }

    /* ── TABS GOLD ── */
    .tabs-rb.gold .tab-btn.active {
        color: var(--accent-secondary);
        border-bottom-color: var(--accent-secondary);
    }
    .tabs-rb.gold .tab-btn:hover {
        color: var(--accent-secondary);
    }

    /* ── TABS PILL ── */
    .tabs-pill {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        padding: 6px;
        background: var(--bg-secondary);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        width: fit-content;
    }
    .tabs-pill .tab-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 18px;
        background: transparent;
        border: none;
        border-radius: var(--radius-sm);
        color: var(--text-muted);
        font-family: "Open Sans", sans-serif;
        font-size: 0.84rem;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: var(--transition);
        text-decoration: none;
    }
    .tabs-pill .tab-btn:hover {
        color: var(--text-primary);
        background: var(--bg-card);
    }
    .tabs-pill .tab-btn.active {
        background: var(--bg-card);
        color: var(--accent-primary);
        box-shadow: var(--shadow-sm);
    }

    /* ── TABS PILL DARK ── */
    .tabs-pill.dark-pill {
        background: var(--bg-sidebar);
        border-color: transparent;
    }
    .tabs-pill.dark-pill .tab-btn {
        color: rgba(255, 255, 255, 0.5);
    }
    .tabs-pill.dark-pill .tab-btn:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }
    .tabs-pill.dark-pill .tab-btn.active {
        background: var(--accent-primary);
        color: #fff;
        box-shadow: none;
    }

    /* ── TABS CARD ── */
    .tabs-card {
        display: flex;
        align-items: flex-end;
        gap: 4px;
    }
    .tabs-card .tab-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 10px 20px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-bottom: none;
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        color: var(--text-muted);
        font-family: "Open Sans", sans-serif;
        font-size: 0.84rem;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: var(--transition);
        text-decoration: none;
    }
    .tabs-card .tab-btn:hover {
        background: var(--bg-card);
        color: var(--text-primary);
    }
    .tabs-card .tab-btn.active {
        background: var(--bg-card);
        color: var(--accent-primary);
        border-bottom-color: var(--bg-card);
        position: relative;
        z-index: 1;
    }
    .tabs-card-body {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
        padding: 20px;
    }

    /* ── TABS VERTICAL ── */
    .tabs-vertical-wrap {
        display: flex;
        gap: 0;
    }
    .tabs-vertical {
        display: flex;
        flex-direction: column;
        gap: 2px;
        border-right: 2px solid var(--border-color);
        padding-right: 0;
        min-width: 160px;
    }
    .tabs-vertical .tab-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        background: none;
        border: none;
        border-right: 2px solid transparent;
        margin-right: -2px;
        color: var(--text-muted);
        font-family: "Open Sans", sans-serif;
        font-size: 0.84rem;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: var(--transition);
        text-align: left;
        text-decoration: none;
        border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    }
    .tabs-vertical .tab-btn:hover {
        color: var(--accent-primary);
        background: rgba(27, 58, 107, 0.05);
    }
    .tabs-vertical .tab-btn.active {
        color: var(--accent-primary);
        border-right-color: var(--accent-primary);
        background: rgba(27, 58, 107, 0.05);
    }
    .tabs-vertical-content {
        flex: 1;
        padding: 0 0 0 24px;
    }

    /* ── BADGE ── */
    .tab-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        background: var(--accent-danger);
        color: #fff;
        border-radius: 999px;
        font-size: 0.65rem;
        font-weight: 700;
    }
    .tab-btn.active .tab-badge {
        background: rgba(155, 44, 44, 0.2);
        color: var(--accent-danger);
    }

    [data-theme="dark"] .tabs-pill .tab-btn.active {
        background: var(--bg-tertiary);
    }
    [data-theme="dark"] .tabs-card .tab-btn {
        background: var(--bg-tertiary);
    }
    [data-theme="dark"] .tabs-card .tab-btn.active {
        background: var(--bg-card);
    }
    [data-theme="dark"] .tabs-card-body {
        background: var(--bg-card);
    }

/* ===== TABS ===== */
.custom-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-tertiary);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.custom-tab {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
}
.custom-tab.active {
    background: var(--bg-card);
    color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}
.custom-tab:hover:not(.active) {
    color: var(--text-primary);
}
a.custom-tab {
    text-decoration: none;
    display: inline-block;
}

/* ===== TABLE ===== */
.custom-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.custom-table table {
    width: 100%;
    border-collapse: collapse;
}
.custom-table th {
    background: var(--bg-tertiary);
    padding: 14px 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-align: left;
}
.custom-table td {
    padding: 14px 20px;
    font-size: 0.88rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.custom-table tr:hover td {
    background: var(--bg-secondary);
}

/* ===== CONTACT FORM ===== */
.form-floating-custom {
    position: relative;
    /* margin-bottom: 20px; */
}
.form-floating-custom input,
.form-floating-custom textarea,
.form-floating-custom select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}
.form-floating-custom input:focus,
.form-floating-custom textarea:focus,
.form-floating-custom select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}
.form-floating-custom label {
    position: absolute;
    top: -9px;
    left: 12px;
    background: var(--bg-card);
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== ADMIN DASHBOARD ===== */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}
.stat-card:hover {
    box-shadow: var(--shadow-md);
}
.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: "Merriweather", serif;
}
.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 4px;
}
.stat-card .stat-change {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
}
.stat-change.up {
    color: var(--accent-success);
}
.stat-change.down {
    color: var(--accent-danger);
}

/* ===== PROFILE ===== */
.profile-header-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.profile-cover {
    height: 160px;
    background: var(--gradient-hero);
    position: relative;
}
.profile-avatar-wrap {
    position: relative;
    margin-top: -130px;
    margin-bottom: 40px;
    padding: 0 30px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}
.profile-avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-accent);
    border: 4px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    font-family: "Merriweather", serif;
}
.profile-info-main {
    padding-bottom: 20px;
}
.profile-info-main h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.profile-info-main p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== CERTIFICATE CARD ===== */
.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.cert-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-secondary);
}
.cert-card:hover {
    box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--bg-sidebar);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.6);
}
.footer-brand {
    margin-bottom: 20px;
}
.footer-brand h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.footer-brand h4 span {
    color: var(--accent-secondary);
}
.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
}
.footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent-secondary);
    padding-left: 4px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent-secondary);
    color: #fff;
}
.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.8rem;
}



/* ── GRADIENT DEMO ── */
    .gradient-demo {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }
    .gradient-box {
        flex: 1;
        min-width: 200px;
        height: 80px;
        border-radius: var(--radius-md);
        display: flex;
        align-items: flex-end;
        padding: 10px 14px;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        transition: var(--transition);
        border: 1px solid var(--border-color);
    }
    .gradient-box:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
    .gradient-box-label {
        font-size: 0.7rem;
        font-weight: 700;
        color: #fff;
        font-family: monospace;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }
    .gradient-box .copy-icon {
        position: absolute;
        top: 8px;
        right: 10px;
        background: rgba(0, 0, 0, 0.3);
        color: #fff;
        border-radius: 4px;
        padding: 2px 7px;
        font-size: 0.65rem;
        opacity: 0;
        transition: opacity 0.2s;
    }
    .gradient-box:hover .copy-icon {
        opacity: 1;
    }
    
    .gradient-gold {
        background: linear-gradient(135deg, #c8a96e 0%, #a8894e 100%)
    }
    .gradient-hero {
        background: linear-gradient(135deg, #1b3a6b 0%, #0d1f3c 100%)
    }
    .gradient-card {
        background: linear-gradient(180deg, rgba(27, 58, 107, 0.08) 0%, rgba(200, 169, 110, 0.12) 100%);
        border: 1px solid var(--border-color);
    }
 

/* ── SWATCH GRID ── */
    .swatch-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    .swatch-card {
        border-radius: var(--radius-md);
        overflow: hidden;
        border: 1px solid var(--border-color);
        background: var(--bg-card);
        box-shadow: var(--shadow-sm);
        cursor: pointer;
        transition: var(--transition);
        position: relative;
    }
    .swatch-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
    .swatch-color {
        height: 72px;
        width: 100%;
        position: relative;
    }
    .swatch-color .copy-icon {
        position: absolute;
        top: 6px;
        right: 8px;
        background: rgba(0, 0, 0, 0.25);
        color: #fff;
        border-radius: 4px;
        padding: 2px 6px;
        font-size: 0.65rem;
        opacity: 0;
        transition: opacity 0.2s;
    }
    .swatch-card:hover .copy-icon {
        opacity: 1;
    }
    .swatch-info {
        padding: 10px 12px;
    }
    .swatch-var {
        font-size: 0.68rem;
        font-weight: 700;
        color: var(--accent-primary);
        font-family: monospace;
        margin-bottom: 2px;
    }
    .swatch-hex {
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--text-primary);
        font-family: monospace;
    }
    .swatch-name {
        font-size: 0.7rem;
        color: var(--text-muted);
        margin-top: 1px;
    }
    .swatch-badge {
        position: absolute;
        top: 6px;
        left: 8px;
        font-size: 0.55rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 2px 6px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.2);
        color: #fff;
    }

    /* ── SWATCH WIDE (gradientes/sombras) ── */
    .swatch-wide {
        grid-column: span 2;
    }
    .swatch-color.tall {
        height: 56px;
    }


/* ── RADIUS DEMO ── */
    .radius-demo {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }
    .radius-box {
        width: 80px;
        height: 80px;
        background: var(--accent-primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 0.68rem;
        font-weight: 700;
        gap: 4px;
        transition: var(--transition);
        cursor: default;
    }
    .radius-box span {
        font-size: 0.6rem;
        opacity: 0.8;
        font-family: monospace;
    }

    /* ── SHADOW DEMO ── */
    .shadow-demo {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        align-items: flex-end;
    }
    .shadow-box {
        width: 100px;
        height: 70px;
        background: var(--bg-card);
        border-radius: var(--radius-md);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 0.68rem;
        font-weight: 700;
        color: var(--text-muted);
        gap: 4px;
        cursor: default;
    }
    .shadow-box span {
        font-size: 0.6rem;
        font-family: monospace;
        color: var(--accent-primary);
    }





/* ===== BTN UTILITY ===== */
.btn-primary-custom {
    background: var(--accent-primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background: var(--accent-secondary);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-custom {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 8px 22px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background: var(--accent-primary);
    color: #fff;
}

/* ===== NOTIFICATION DOT ===== */
.notif-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-danger);
    border-radius: 50%;
    position: absolute;
    top: -2px;
    right: -2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }
    .nav-desktop {
        display: none !important;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }
    .hero-image-area {
        display: none;
    }
}
@media (max-width: 575px) {
    .bar-ticker .container{
        padding-left: 0;
        padding-right: 0;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-section {
        padding: 50px 0 40px;
    }
    .features-section,
    .posts-section,
    .courses-section,
    .cta-section {
        padding: 50px 0;
    }
    .hero-stats {
        gap: 20px;
    }
    .hero-stat-number {
        font-size: 1.4rem;
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
}

/* ===== LOADING ANIMATION ===== */
.page-transition {
    animation: pageIn 0.4s ease;
}
@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BIBLE READER ===== */
.bible-reader {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.verse-text {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-primary);
}
.verse-num {
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 0.75rem;
    vertical-align: super;
    margin-right: 4px;
}

/* ===== HYMNAL ===== */
.hymn-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    cursor: pointer;
}
.hymn-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-secondary);
}
.hymn-number {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(27, 58, 107, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-family: "Merriweather", serif;
    flex-shrink: 0;
}
[data-theme="dark"] .hymn-number {
    background: rgba(59, 108, 181, 0.15);
}
.hymn-title {
    font-weight: 600;
    font-size: 0.9rem;
}
.hymn-author {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== PRAYER REQUEST ===== */
.prayer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
}
.prayer-card .prayer-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--accent-secondary);
    font-size: 1.2rem;
    opacity: 0.4;
}
.prayer-card .prayer-name {
    font-weight: 700;
    margin-bottom: 6px;
}
.prayer-card .prayer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.prayer-card .prayer-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.prayer-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent-secondary);
    cursor: pointer;
}

/* Pedidos de oração (lista dinâmica) */
.po-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.po-prayer-card.prayer-card-highlight {
    box-shadow: 0 0 0 2px var(--accent-primary);
}
.po-prayer-card .prayer-heart-btn {
    background: none;
    border: none;
    padding: 4px 0;
    margin: 0;
    font-size: 0.8rem;
    color: var(--accent-secondary);
    cursor: pointer;
    transition: color 0.15s ease;
}
.po-prayer-card .prayer-heart-btn .prayer-icon-inline {
    font-size: 1.1rem;
    opacity: 0.45;
    transition: color 0.15s ease, opacity 0.15s ease;
}
.po-prayer-card .prayer-heart-btn:hover .prayer-icon-inline {
    opacity: 0.85;
}
.po-prayer-card .prayer-heart-btn.is-praying,
.po-prayer-card .prayer-heart-btn.is-praying .prayer-icon-inline {
    color: #dc3545 !important;
    opacity: 1 !important;
}
.po-prayer-card .prayer-card-share .btn {
    padding: 0.2rem 0.5rem;
    line-height: 1.2;
}
.po-filter-pills .btn {
    border-radius: 999px;
}

/* ===== PAGE HERO SM ===== */
.page-hero-sm {
    background: var(--gradient-hero);
    padding: 36px 0 32px;
    color: var(--bg-primary);
}
.page-hero-sm h1 {
    font-family: "Merriweather", serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--bg-primary);
    margin: 8px 0 4px;
}
.page-hero-sm p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}
.breadcrumb-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
}
.breadcrumb-wrap a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-wrap a:hover {
    color: var(--accent-secondary);
}
.breadcrumb-wrap span {
    color: var(--accent-secondary);
    font-weight: 600;
}
.breadcrumb-wrap i {
    font-size: 0.65rem;
    opacity: 0.5;
}

/* ===== SECTION PAD SM ===== */
.section-pad-sm {
    padding: 48px 0 64px;
}

/* ===== AUTH CARD ===== */
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
}
@media (max-width: 480px) {
    .auth-card {
        padding: 28px 20px;
    }
}

/* ===== AUTH CARD HEADER ===== */
.auth-card-header {
    text-align: center;
    margin-bottom: 28px;
}
.auth-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(27, 58, 107, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--accent-primary);
}
.auth-icon-wrap.success {
    background: rgba(45, 106, 79, 0.1);
    color: var(--accent-success);
}
.auth-icon-wrap.warning {
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent-warning);
}
.auth-card-header h2 {
    font-family: "Merriweather", serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.auth-card-header p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
}
.auth-email-highlight {
    display: block;
    margin-top: 8px;
    color: var(--accent-primary);
    font-size: 0.95rem;
    word-break: break-all;
}

/* ===== FORM GROUPS ===== */
.form-group-auth {
    margin-bottom: 18px;
}
.form-group-auth label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-group-auth .required {
    color: var(--accent-danger);
}
.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.label-row label {
    margin-bottom: 0;
}
.forgot-link {
    font-size: 0.78rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}
.forgot-link:hover {
    color: var(--accent-secondary);
}

/* ===== INPUT ICON WRAP ===== */
.input-icon-wrap {
    position: relative;
}
.input-icon-wrap > i:first-child {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
}
.form-control-auth {
    width: 100%;
    padding: 11px 44px 11px 40px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: "Open Sans", sans-serif;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    box-sizing: border-box;
}
.form-control-auth:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.08);
}
.form-control-auth.is-invalid-auth {
    border-color: var(--accent-danger);
    box-shadow: 0 0 0 3px rgba(155, 44, 44, 0.08);
}
.form-control-auth::placeholder {
    color: var(--text-muted);
}

/* Toggle senha */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.toggle-password:hover {
    color: var(--accent-primary);
}

/* ===== FIELD ERROR ===== */
.field-error {
    font-size: 0.75rem;
    color: var(--accent-danger);
    margin-top: 4px;
    margin-bottom: 20px;
    min-height: 16px;
}

/* ===== PASSWORD STRENGTH ===== */
.password-strength {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.strength-bar {
    flex: 1;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}
.strength-fill {
    height: 100%;
    border-radius: 2px;
    transition:
        width 0.3s,
        background 0.3s;
    width: 0%;
}
.strength-fill.weak {
    background: var(--accent-danger);
}
.strength-fill.fair {
    background: var(--accent-warning);
}
.strength-fill.good {
    background: var(--accent-info);
}
.strength-fill.strong {
    background: var(--accent-success);
}
.strength-label {
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 48px;
    text-align: right;
}
.strength-label.weak {
    color: var(--accent-danger);
}
.strength-label.fair {
    color: var(--accent-warning);
}
.strength-label.good {
    color: var(--accent-info);
}
.strength-label.strong {
    color: var(--accent-success);
}

/* ===== CHECKBOX AUTH ===== */
.checkbox-auth {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-secondary);
    user-select: none;
}
.checkbox-auth input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--accent-primary);
    flex-shrink: 0;
    cursor: pointer;
}
.checkbox-auth a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
}
.checkbox-auth a:hover {
    color: var(--accent-secondary);
}

/* ===== BTN AUTH PRIMARY ===== */
.btn-auth-primary {
    display: block;
    width: 100%;
    padding: 13px 24px;
    background: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    margin-top: 8px;
}
.btn-auth-primary:hover {
    background: #142d54;
    border-color: #142d54;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 58, 107, 0.35);
}
.btn-auth-primary:active {
    transform: translateY(0);
    box-shadow: none;
}
.btn-auth-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-auth-primary .btn-text,
.btn-auth-primary .btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ===== BTN AUTH SECONDARY ===== */
.btn-auth-secondary {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    margin-top: 8px;
}
.btn-auth-secondary:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 58, 107, 0.2);
}
.btn-auth-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ===== SPIN ANIMATION ===== */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.spin {
    animation: spin 0.8s linear infinite;
}

/* ===== AUTH DIVIDER ===== */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* ===== AUTH LINKS ===== */
.auth-links {
    text-align: center;
    font-size: 0.83rem;
    color: var(--text-muted);
}
.auth-links p {
    margin: 0;
}
.auth-links a {
    color: var(--accent-primary);
    font-weight: 700;
    text-decoration: none;
}
.auth-links a:hover {
    color: var(--accent-secondary);
}

/* ===== AUTH ALERT ===== */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid transparent;
}
.auth-alert i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.auth-alert-danger {
    background: rgba(155, 44, 44, 0.07);
    border-color: rgba(155, 44, 44, 0.2);
    color: var(--accent-danger);
}
.auth-alert-success {
    background: rgba(45, 106, 79, 0.07);
    border-color: rgba(45, 106, 79, 0.2);
    color: var(--accent-success);
}
.auth-alert-warning {
    background: rgba(212, 160, 23, 0.07);
    border-color: rgba(212, 160, 23, 0.2);
    color: var(--accent-warning);
}

/* ===== AUTH INFO BOX ===== */
.auth-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 16px;
}
.auth-info-box i {
    font-size: 1.1rem;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 1px;
}
.auth-info-box strong {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 3px;
}
.auth-info-box p {
    margin: 0;
    line-height: 1.6;
}
.auth-info-box a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
}
.auth-info-box a:hover {
    color: var(--accent-secondary);
}

/* ===== AUTH SUCCESS BOX ===== */
.auth-success-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(45, 106, 79, 0.07);
    border: 1px solid rgba(45, 106, 79, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: var(--accent-success);
    font-weight: 600;
    margin-bottom: 20px;
}
.auth-success-box i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== DIVIDER AUTH ===== */
.divider-auth {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 20px 0;
}

/* ===== OTP INPUT ===== */
.otp-wrap {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: "Merriweather", serif;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    caret-color: var(--accent-primary);
}
.otp-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}
.otp-input.is-invalid-auth {
    border-color: var(--accent-danger);
    box-shadow: 0 0 0 3px rgba(155, 44, 44, 0.08);
}
@media (max-width: 380px) {
    .otp-input {
        width: 40px;
        height: 48px;
        font-size: 1.2rem;
    }
    .otp-wrap {
        gap: 5px;
    }
}

/* ===== PLAN CARDS (user_minha_assinatura) ===== */
.plan-current-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.plan-badge-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.plan-badge-big i {
    font-size: 1.6rem;
}
.plan-badge-big.plan-premium {
    background: var(--gradient-accent);
    color: #ffffff;
}
.plan-badge-big.plan-familia {
    background: var(--gradient-hero);
    color: #ffffff;
}
.plan-badge-big.plan-gratuito {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}
.plan-current-info h4 {
    font-family: "Merriweather", serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.plan-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-primary);
    margin-bottom: 6px;
}
.plan-price small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}
.plan-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}
.plan-status.active {
    background: rgba(45, 106, 79, 0.1);
    color: var(--accent-success);
}
.plan-status.inactive {
    background: rgba(155, 44, 44, 0.08);
    color: var(--accent-danger);
}
.plan-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.plan-info-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
}
.plan-info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}
.plan-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== BTN PLAN ===== */
.btn-plan-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}
.btn-plan-primary:hover {
    opacity: 0.88;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200, 169, 110, 0.4);
}
.btn-plan-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--accent-danger);
    border-radius: var(--radius-sm);
    color: var(--accent-danger);
    font-family: "Open Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}
.btn-plan-secondary:hover {
    background: var(--accent-danger);
    color: #ffffff;
    transform: translateY(-1px);
}
.btn-plan-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    background: transparent;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: "Open Sans", sans-serif;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}
.btn-plan-outline:hover:not(:disabled) {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
.btn-plan-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== BENEFITS LIST ===== */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
}
.benefit-item i {
    font-size: 1rem;
    flex-shrink: 0;
}
.benefit-item.active {
    color: var(--text-primary);
}
.benefit-item.active i {
    color: var(--accent-success);
}
.benefit-item.inactive {
    color: var(--text-muted);
    text-decoration: line-through;
}
.benefit-item.inactive i {
    color: var(--text-muted);
}

/* ===== PLAN OPTION (alterar plano) ===== */
.plan-option {
    padding: 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    transition: var(--transition);
}
.plan-option:last-child {
    margin-bottom: 0;
}
.plan-option.current {
    border-color: var(--accent-secondary);
    background: rgba(200, 169, 110, 0.05);
}
.plan-option:hover:not(.current) {
    border-color: var(--accent-primary);
    background: rgba(27, 58, 107, 0.03);
}
.plan-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.plan-option-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.plan-current-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--accent-secondary);
    color: #fff;
    padding: 2px 7px;
    border-radius: 999px;
}
.plan-option-price {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--accent-primary);
}
.plan-option-price small {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
}
.plan-option-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 10px;
}

/* ===== TABLE AUTH ===== */
.table-auth {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}
.table-auth thead tr {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
}
.table-auth th {
    padding: 11px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
    text-align: left;
    white-space: nowrap;
}
.table-auth td {
    padding: 12px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.table-auth tbody tr:last-child td {
    border-bottom: none;
}
.table-auth tbody tr:hover td {
    background: var(--bg-secondary);
}
.table-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}
.table-link:hover {
    color: var(--accent-secondary);
}

/* ===== STATUS BADGE ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.status-active {
    background: rgba(45, 106, 79, 0.1);
    color: var(--accent-success);
}
.status-pending {
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent-warning);
}
.status-draft {
    background: rgba(122, 122, 138, 0.1);
    color: var(--text-muted);
}
.status-inactive {
    background: rgba(155, 44, 44, 0.08);
    color: var(--accent-danger);
}

/* ===== PROFILE CARD ===== */
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.profile-card-header h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.profile-card-header h5 i {
    color: var(--accent-primary);
}
.profile-card-body {
    padding: 20px;
}

/* ===== CONTACT INFO (contato.php) ===== */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-info-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.contact-info-value {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    word-break: break-all;
}
a.contact-info-value:hover {
    color: var(--accent-secondary);
}

/* ===== CONTACT SOCIAL (contato.php) ===== */
.contact-social-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}
.contact-social-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}
.contact-social-item i:first-child {
    font-size: 1.15rem;
}

/* ===== FAQ ACCORDION (contato.php) ===== */
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-family: "Open Sans", sans-serif;
}
.faq-toggle:hover {
    color: var(--accent-secondary);
}
.faq-toggle i {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-body p {
    padding: 0 20px 16px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}
.faq-body a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
}
.faq-body a:hover {
    color: var(--accent-secondary);
}

/* ===== CHAR COUNTER (contato.php) ===== */
.char-counter {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

/* ===== SELECT dentro de input-icon-wrap ===== */
.input-icon-wrap select.form-control-auth {
    padding-left: 40px;
    cursor: pointer;
}

/* ===== DARK THEME — ajustes Auth ===== */
[data-theme="dark"] .auth-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}
[data-theme="dark"] .form-control-auth {
    background: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--border-color);
}
[data-theme="dark"] .form-control-auth:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.1);
}
[data-theme="dark"] .otp-input {
    background: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--border-color);
}
[data-theme="dark"] .otp-input:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.1);
}
[data-theme="dark"] .auth-info-box {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}
[data-theme="dark"] .plan-option.current {
    background: rgba(200, 169, 110, 0.08);
}
[data-theme="dark"] .table-auth tbody tr:hover td {
    background: var(--bg-tertiary);
}
[data-theme="dark"] .profile-card-header {
    background: var(--bg-tertiary);
}
[data-theme="dark"] .contact-social-item:hover {
    background: var(--bg-tertiary);
}

/* ============================================================
   NOVOS BOTÕES GLOBAIS
   ============================================================ */
/* ===== BASE ===== */
.btn-primary,
.btn-success,
.btn-secondary,
.btn-warning,
.btn-info,
.btn-danger,
.btn-default,
.btn-dark,
.btn-light,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-secondary,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-danger,
.btn-outline-dark,
.btn-outline-light,
.btn-ghost-primary,
.btn-ghost-success,
.btn-ghost-danger,
.btn-ghost-warning,
.btn-ghost-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: "Open Sans", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    user-select: none;
}

/* ===== TAMANHOS ===== */
.btn-sm {
    padding: 6px 14px;
    font-size: 0.78rem;
}
.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}
.btn-xl {
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}
.btn-pill {
    border-radius: 999px !important;
}
.btn-block {
    width: 100%;
}

/* ===== DISABLED ===== */
.btn-primary:disabled,
.btn-success:disabled,
.btn-secondary:disabled,
.btn-warning:disabled,
.btn-info:disabled,
.btn-danger:disabled,
.btn-default:disabled,
.btn-dark:disabled,
.btn-light:disabled,
.btn-outline-primary:disabled,
.btn-outline-success:disabled,
.btn-outline-secondary:disabled,
.btn-outline-warning:disabled,
.btn-outline-info:disabled,
.btn-outline-danger:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== SÓLIDOS ===== */
.btn-primary {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}
.btn-success {
    background: var(--accent-success);
    border-color: var(--accent-success);
    color: #fff;
}
.btn-secondary {
    background: var(--text-muted);
    border-color: var(--text-muted);
    color: #fff;
}
.btn-warning {
    background: var(--accent-warning);
    border-color: var(--accent-warning);
    color: #fff;
}
.btn-info {
    background: var(--accent-info);
    border-color: var(--accent-info);
    color: #fff;
}
.btn-danger {
    background: var(--accent-danger);
    border-color: var(--accent-danger);
    color: #fff;
}
.btn-default {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}
.btn-dark {
    background: #1a1a2e;
    border-color: #1a1a2e;
    color: #fff;
}
.btn-light {
    background: #f8f6f2;
    border-color: #e2ddd5;
    color: #1a1a2e;
}

.btn-primary:hover {
    background: #142d54;
    border-color: #142d54;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 58, 107, 0.35);
}
.btn-success:hover {
    background: #235540;
    border-color: #235540;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.35);
}
.btn-secondary:hover {
    background: #5a5a6a;
    border-color: #5a5a6a;
    color: #fff;
    transform: translateY(-1px);
}
.btn-warning:hover {
    background: #b8880f;
    border-color: #b8880f;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.35);
}
.btn-info:hover {
    background: #1a4fc4;
    border-color: #1a4fc4;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-danger:hover {
    background: #7a2020;
    border-color: #7a2020;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(155, 44, 44, 0.35);
}
.btn-default:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    color: var(--text-primary);
    transform: translateY(-1px);
}
.btn-dark:hover {
    background: #0d0d1a;
    border-color: #0d0d1a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.btn-light:hover {
    background: #edeae4;
    border-color: #c8c4bc;
    color: #1a1a2e;
    transform: translateY(-1px);
}

.btn-primary:active,
.btn-success:active,
.btn-secondary:active,
.btn-warning:active,
.btn-info:active,
.btn-danger:active,
.btn-default:active,
.btn-dark:active,
.btn-light:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ===== OUTLINE ===== */
.btn-outline-primary {
    background: transparent;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
.btn-outline-success {
    background: transparent;
    border-color: var(--accent-success);
    color: var(--accent-success);
}
.btn-outline-secondary {
    background: transparent;
    border-color: var(--text-muted);
    color: var(--text-muted);
}
.btn-outline-warning {
    background: transparent;
    border-color: var(--accent-warning);
    color: var(--accent-warning);
}
.btn-outline-info {
    background: transparent;
    border-color: var(--accent-info);
    color: var(--accent-info);
}
.btn-outline-danger {
    background: transparent;
    border-color: var(--accent-danger);
    color: var(--accent-danger);
}
.btn-outline-dark {
    background: transparent;
    border-color: #1a1a2e;
    color: #1a1a2e;
}
.btn-outline-light {
    background: transparent;
    border-color: #e2ddd5;
    color: var(--text-secondary);
}

.btn-outline-primary:hover {
    background: var(--accent-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 58, 107, 0.25);
}
.btn-outline-success:hover {
    background: var(--accent-success);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.25);
}
.btn-outline-secondary:hover {
    background: var(--text-muted);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-warning:hover {
    background: var(--accent-warning);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.25);
}
.btn-outline-info:hover {
    background: var(--accent-info);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.btn-outline-danger:hover {
    background: var(--accent-danger);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(155, 44, 44, 0.25);
}
.btn-outline-dark:hover {
    background: #1a1a2e;
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-light:hover {
    background: #f8f6f2;
    color: #1a1a2e;
    transform: translateY(-1px);
}

.btn-outline-primary:active,
.btn-outline-success:active,
.btn-outline-secondary:active,
.btn-outline-warning:active,
.btn-outline-info:active,
.btn-outline-danger:active,
.btn-outline-dark:active,
.btn-outline-light:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ===== GHOST ===== */
.btn-ghost-primary {
    background: transparent;
    border-color: transparent;
    color: var(--accent-primary);
}
.btn-ghost-success {
    background: transparent;
    border-color: transparent;
    color: var(--accent-success);
}
.btn-ghost-danger {
    background: transparent;
    border-color: transparent;
    color: var(--accent-danger);
}
.btn-ghost-warning {
    background: transparent;
    border-color: transparent;
    color: var(--accent-warning);
}
.btn-ghost-secondary {
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
}

.btn-ghost-primary:hover {
    background: rgba(27, 58, 107, 0.08);
    color: var(--accent-primary);
}
.btn-ghost-success:hover {
    background: rgba(45, 106, 79, 0.08);
    color: var(--accent-success);
}
.btn-ghost-danger:hover {
    background: rgba(155, 44, 44, 0.08);
    color: var(--accent-danger);
}
.btn-ghost-warning:hover {
    background: rgba(212, 160, 23, 0.08);
    color: var(--accent-warning);
}
.btn-ghost-secondary:hover {
    background: rgba(122, 122, 138, 0.1);
    color: var(--text-secondary);
}

/* ===== ICON ONLY ===== */
.btn-icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}
.btn-icon-only.btn-sm {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
}
.btn-icon-only.btn-lg {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
}

/* ===== LOADING ===== */
.btn-loading-state {
    pointer-events: none;
    opacity: 0.75;
}
@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    flex-shrink: 0;
}
.btn-spinner.dark {
    border-color: rgba(0, 0, 0, 0.15);
    border-top-color: var(--text-primary);
}

/* ===== DARK THEME ===== */
[data-theme="dark"] .btn-default {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}
[data-theme="dark"] .btn-default:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    color: var(--text-primary);
}
[data-theme="dark"] .btn-light {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}
[data-theme="dark"] .btn-light:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    color: var(--text-primary);
}
[data-theme="dark"] .btn-outline-dark {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}
[data-theme="dark"] .btn-outline-dark:hover {
    background: var(--text-secondary);
    color: var(--bg-primary);
}
[data-theme="dark"] .btn-outline-light {
    border-color: var(--border-color);
    color: var(--text-primary);
}
[data-theme="dark"] .btn-outline-light:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* ===== BTN-CARD ===== */
/* Botão compacto dentro de cards — usado em index.php, rec_cursos.php, rec_jogos.php */
.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    user-select: none;
}
.btn-card:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 58, 107, 0.25);
}
.btn-card:active {
    transform: translateY(0);
    box-shadow: none;
}

[data-theme="dark"] .btn-card {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}
[data-theme="dark"] .btn-card:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

/* ===== BTN-FILTER ===== */
/* Botão de filtro/tag pill — usado em rec_jogos.php, licoes.php */
.btn-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-muted);
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    user-select: none;
}
.btn-filter:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(27, 58, 107, 0.05);
}
.btn-filter.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}
.btn-filter.active:hover {
    background: #142d54;
    border-color: #142d54;
    color: #ffffff;
}
.btn-filter:active {
    transform: scale(0.97);
}

[data-theme="dark"] .btn-filter {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-muted);
}
[data-theme="dark"] .btn-filter:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(59, 108, 181, 0.1);
}
[data-theme="dark"] .btn-filter.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

/* ===== BTN-RESOURCE ===== */
/* Botão de recurso/download — usado em rec_biblia_online.php, rec_guia_leitura.php */
.btn-resource {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--accent-secondary);
    border-radius: var(--radius-sm);
    color: var(--accent-secondary);
    font-family: "Open Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    user-select: none;
}
.btn-resource:hover {
    background: var(--accent-secondary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200, 169, 110, 0.35);
}
.btn-resource:active {
    transform: translateY(0);
    box-shadow: none;
}

[data-theme="dark"] .btn-resource {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}
[data-theme="dark"] .btn-resource:hover {
    background: var(--accent-secondary);
    color: #1a1a2e;
}

/* ===== BTN-ICON ===== */
/* Botão apenas ícone circular — usado em post.php, user_perfil.php */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
    user-select: none;
}
.btn-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(27, 58, 107, 0.25);
}
.btn-icon.active {
    background: var(--accent-danger);
    border-color: var(--accent-danger);
    color: #ffffff;
}
.btn-icon.active:hover {
    background: #7a2020;
    border-color: #7a2020;
}
.btn-icon:active {
    transform: scale(1);
}

/* Variantes de tamanho */
.btn-icon.btn-sm {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
}
.btn-icon.btn-lg {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
}

[data-theme="dark"] .btn-icon {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-muted);
}
[data-theme="dark"] .btn-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

/* ===== BTN-SLIDE-NAV ===== */
/* Botão de navegação de slides — usado em licoes_slides.php */
.btn-slide-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
    user-select: none;
    box-shadow: var(--shadow-sm);
}
.btn-slide-nav:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(27, 58, 107, 0.25);
}
.btn-slide-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-slide-nav:active {
    transform: scale(0.95);
}

[data-theme="dark"] .btn-slide-nav {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}
[data-theme="dark"] .btn-slide-nav:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

/* ===== TABLE-LINK ===== */
/* Link estilizado dentro de tabelas — usado em user_minha_assinatura.php */
.table-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.table-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.table-link i {
    font-size: 0.85rem;
}

[data-theme="dark"] .table-link {
    color: var(--accent-primary);
}
[data-theme="dark"] .table-link:hover {
    color: var(--accent-secondary);
}
