/* =========================================
   1. VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================= */
:root {
    --bg-dark: #0f1115;
    --bg-card: #161920;
    --gold-primary: #c4a065;
    --gold-light: #e6c589;
    --gold-dark: #8f7241;
    --text-main: #e0e0e0;
    --text-muted: #848a96;
    --border: #2a2e38;
    --success: #4caf50;
    --danger: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Evita flash branco por trás do body durante o fade de transição de página */
html {
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    background-image: radial-gradient(circle at 50% 0%, #1b1e26 0%, #0f1115 60%);
    overflow-x: hidden;
    animation: fadeInPage 0.5s ease-out forwards;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) var(--bg-dark);
}

/* Scrollbar customizada (Chrome/Edge/Safari) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

h1, h2, h3, .logo-text, .btn {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.text-gold { color: var(--gold-primary); }
.text-center { text-align: center !important; }

/* =========================================
   2. BOTÕES
   ========================================= */
.btn {
    padding: 15px 40px; border-radius: 4px; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: #111; border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(196, 160, 101, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(196, 160, 101, 0.4);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent; color: var(--gold-primary); border-color: var(--gold-primary);
}

.btn-outline:hover {
    background: rgba(196, 160, 101, 0.1); color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(196, 160, 101, 0.4);
}

.btn-block { width: 100%; padding: 15px; font-size: 1rem; }
.btn-glow { box-shadow: 0 0 20px rgba(196, 160, 101, 0.4); }
.btn-glow:hover { box-shadow: 0 0 30px rgba(196, 160, 101, 0.6); }

/* =========================================
   3. FORMULÁRIOS E INPUTS (Base para o UCP)
   ========================================= */
.input-group { margin-bottom: 20px; }
.input-group label { display: block; color: var(--text-muted); margin-bottom: 8px; font-size: 0.85rem; letter-spacing: 1px; }

.input-field {
    width: 100%;
    padding: 12px;
    background: #0b0d10;
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    transition: 0.3s;
}

.input-field:focus {
    border-color: var(--gold-primary);
    outline: none;
    box-shadow: 0 0 10px rgba(196, 160, 101, 0.1);
}

.input-field:disabled {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    border-style: dashed;
    cursor: not-allowed;
    opacity: 0.7;
}

/* =========================================
   4. ESTRUTURA DO PAINEL DE USUÁRIO (UCP)
   ========================================= */
.page-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../../../img/bg-hero.png'); /* Certifique-se do caminho da imagem no UCP */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 30px 0;
}

.panel-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15,17,21,0.9);
    z-index: 1;
}

.panel-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 20px;
}

/* Painel logado (dashboard): usa a mesma largura dos containers do site */
.panel-wrapper.panel-wrapper-wide {
    max-width: 1200px;
}

.panel-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: rgba(22, 25, 32, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
    min-height: 500px;
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--gold-primary);
}

.panel-card.panel-card-wide {
    min-height: 600px;
}

/* Sidebar Esquerda */
.panel-sidebar {
    background: linear-gradient(180deg, #121419 0%, #0b0d10 100%);
    border-right: 1px solid var(--border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.sidebar-logo { text-align: center; margin-bottom: 40px; }
.sidebar-logo img { max-width: 120px; filter: drop-shadow(0 0 10px rgba(196, 160, 101, 0.3)); }

.sidebar-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #0b0d10;
    border: 1px solid var(--gold-primary);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(196, 160, 101, 0.4);
}
.sidebar-user-left { display: flex; align-items: center; gap: 12px; overflow: hidden; }
.sidebar-user i.fa-circle-user { font-size: 1.8rem; color: var(--gold-primary); }
.sidebar-user-info { display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.sidebar-user-info strong { color: #fff; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-info span { color: var(--gold-primary); font-size: 0.75rem; font-weight: bold; display: flex; align-items: center; gap: 5px; }
.sidebar-user-info span i.fa-coins { color: var(--gold-primary); }

.sidebar-user-add {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 160, 101, 0.15);
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    color: var(--gold-primary);
    font-size: 0.8rem;
    transition: 0.3s;
}
.sidebar-user-add:hover {
    background: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 12px rgba(196, 160, 101, 0.5);
}

.panel-nav { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.panel-nav a {
    padding: 12px 15px; border-radius: 6px; color: var(--text-muted);
    font-size: 0.9rem; font-weight: 500; transition: 0.3s;
    display: flex; align-items: center; gap: 12px;
}
.panel-nav a:hover, .panel-nav a.active {
    background: rgba(196, 160, 101, 0.1); color: var(--gold-primary);
    border-left: 3px solid var(--gold-primary);
}
.panel-nav a i { width: 20px; text-align: center; }

.nav-group { display: flex; flex-direction: column; }

.nav-group-toggle {
    padding: 12px 15px; border-radius: 6px; color: var(--text-muted);
    font-size: 0.9rem; font-weight: 500; transition: 0.3s;
    display: flex; align-items: center; gap: 12px;
    background: none; border: none; cursor: pointer; width: 100%;
    text-align: left; font-family: inherit;
}
.nav-group-toggle i:first-child { width: 20px; text-align: center; }
.nav-group-toggle span { flex-grow: 1; }
.nav-group-toggle:hover {
    background: rgba(196, 160, 101, 0.1); color: var(--gold-primary);
    border-left: 3px solid var(--gold-primary);
}
.nav-group-toggle.active {
    background: rgba(196, 160, 101, 0.1); color: var(--gold-primary);
}
.nav-group-arrow { font-size: 0.75rem; transition: transform 0.3s; }
.nav-group.open .nav-group-arrow { transform: rotate(180deg); }

.nav-submenu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    transition: max-height 0.3s ease;
}
.nav-group.open .nav-submenu { max-height: 300px; }

.nav-submenu a {
    padding: 10px 15px 10px 42px; border-radius: 6px; color: var(--text-muted);
    font-size: 0.85rem; font-weight: 500; transition: 0.3s;
    display: flex; align-items: center; gap: 10px;
}
.nav-submenu a:hover {
    background: rgba(196, 160, 101, 0.1); color: var(--gold-primary);
}
.nav-submenu a.active {
    background: rgba(196, 160, 101, 0.1); color: var(--gold-primary);
}
.nav-submenu a i { width: 16px; text-align: center; font-size: 0.8rem; }

.server-status-mini {
    margin-top: auto; background: #000; padding: 15px; border-radius: 6px;
    text-align: center; border: 1px solid var(--border);
}
.server-status-mini small { display: block; color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; }

.status-online {
    color: var(--success) !important; text-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 1.1rem; font-weight: 700; font-family: 'Cinzel', serif;
}
.status-online i { font-size: 0.8rem; }

/* Conteúdo Direita */
.panel-content {
    padding: 40px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.panel-content::-webkit-scrollbar { width: 6px; }
.panel-content::-webkit-scrollbar-track { background: transparent; }
.panel-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.panel-content::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

.login-header { margin-bottom: 30px; text-align: center; }
.login-header h2 { font-size: 1.8rem; color: #fff; margin-bottom: 5px; }
.login-header p { color: var(--text-muted); font-size: 0.9rem; }
.login-logo-mobile { display: none; }

.panel-form label { font-size: 0.75rem; font-weight: bold; color: var(--gold-primary); }
.forgot-link { display: block; text-align: right; font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; }
.forgot-link:hover { color: #fff; text-decoration: underline; }

/* Recuperação de Senha / Detalhes Extras */
.icon-large-circle {
    width: 80px; height: 80px; background: rgba(196, 160, 101, 0.1);
    border: 1px solid var(--gold-primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px auto; font-size: 2rem; box-shadow: 0 0 20px rgba(196, 160, 101, 0.2);
}

.alert-box {
    background: rgba(255, 255, 255, 0.05); border-left: 3px solid var(--text-muted);
    padding: 15px; border-radius: 4px; margin-bottom: 25px;
    display: flex; align-items: flex-start; gap: 15px; font-size: 0.85rem; color: #ccc; line-height: 1.5;
}
.alert-box i { color: var(--gold-primary); font-size: 1.1rem; margin-top: 2px; }

.back-link-simple { color: var(--text-muted); font-size: 0.85rem; transition: 0.3s; }
.back-link-simple:hover { color: var(--gold-primary); text-decoration: none; }

/* Botão de abrir/fechar o menu lateral no mobile */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(196, 160, 101, 0.3);
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 999;
}
.sidebar-backdrop.open { display: block; }

/* =========================================
   5. RESPONSIVIDADE (MOBILE UCP)
   ========================================= */
@media (max-width: 768px) {
    .page-panel {
        background-image: url('../../../img/bg-hero-mobile.png');
        background-position: center top;
        background-attachment: scroll;
    }
    .page-panel {
        padding-top: 40px !important;
        padding-bottom: 20px;
    }
    .panel-wrapper {
        width: 95% !important;
        max-width: 400px !important;
        padding: 0;
    }
    .panel-card {
        display: flex !important;
        flex-direction: column;
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        backdrop-filter: none !important;
    }
    .sidebar-toggle { display: flex; }
    .panel-sidebar {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 260px;
        max-width: 80vw;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 0 30px rgba(0,0,0,0.8);
    }
    .panel-sidebar.open { transform: translateX(0); }
    .panel-content { padding: 30px 20px !important; padding-top: 60px !important; justify-content: flex-start !important; }
    /* Existe um <main class="panel-content"> aninhado dentro de outro no login;
       sem isso, a folga do botão do menu é somada duas vezes. */
    .panel-content .panel-content { padding-top: 10px !important; }
    .login-logo-mobile { display: block; max-width: 180px; margin: 0 auto 20px; filter: drop-shadow(0 0 10px rgba(196, 160, 101, 0.3)); }
    .login-header h2 { font-size: 1.4rem !important; }
    .login-header p { font-size: 0.8rem !important; margin-bottom: 20px; }
    .input-field { padding: 10px !important; font-size: 0.9rem !important; }
    .btn-block { padding: 12px !important; font-size: 0.9rem !important; margin-top: 10px; }
    .donate-row { grid-template-columns: 1fr !important; }
}

/* =========================================
   6. TRANSIÇÕES DE PÁGINA
   ========================================= */
@keyframes fadeInPage {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

body.fade-out {
    animation: fadeOutPage 0.4s ease-in forwards;
    pointer-events: none;
}

@keyframes fadeOutPage {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   7. SISTEMA DE ALERTAS E MODAIS
   ========================================= */
.rmsg {
    display: block; width: 100%; margin: 0 auto 20px auto; padding: 15px;
    border-radius: 4px; text-align: center; font-size: 0.9rem;
    background: rgba(76, 175, 80, 0.1); border-left: 3px solid var(--success); color: #fff;
}
.rmsg.error { background: rgba(244, 67, 54, 0.1) !important; border-left-color: var(--danger) !important; }
.rmsg.warn { background: rgba(255, 193, 7, 0.1) !important; border-left-color: #ffc107 !important; color: #fff !important; }

/* Botão Submit travado em Sucesso */
.btn.sucesso, input.default.sucesso {
    background: var(--success) !important; border-color: var(--success) !important;
    color: #fff !important; box-shadow: 0 0 20px rgba(76, 175, 80, 0.4) !important; pointer-events: none;
}

/* Ajuste para o reCAPTCHA não quebrar o layout mobile */
@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

/* =========================================
   8. DASHBOARD DO USUÁRIO (UCP LOGADO)
   ========================================= */
.dash-section {
    margin-bottom: 35px;
}

.dash-subtitle {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.dash-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 15px;
    text-align: center;
    border-radius: 6px;
    transition: 0.3s;
}
.dash-box:hover { border-color: var(--gold-primary); }
.dash-box span { display: block; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 6px; letter-spacing: 1px; }
.dash-box strong { display: block; font-size: 1.1rem; color: var(--gold-primary); font-family: 'Cinzel', serif; }

.dash-table-wrap { overflow-x: auto; border-radius: 6px; border: 1px solid var(--border); }
.dash-table { width: 100%; border-collapse: collapse; min-width: 480px; background: #0b0d10; }
.dash-table th {
    background: #0b0d10; color: var(--gold-primary); padding: 12px 15px;
    text-align: center; text-transform: uppercase; font-size: 0.75rem;
    border-bottom: 2px solid var(--border); font-family: 'Cinzel', serif;
}
.dash-table td { padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: var(--text-main); text-align: center; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.03); }
.dash-table tbody tr:hover { background: rgba(196, 160, 101, 0.08); }

.status-link {
    color: var(--gold-primary);
    text-decoration: underline;
    font-weight: bold;
    transition: 0.3s;
}
.status-link:hover {
    color: var(--gold-light);
}

/* =========================================
   10. FATURA DO PEDIDO (ORDER PAY)
   ========================================= */
.invoice-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}

.invoice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(196, 160, 101, 0.06);
    border-bottom: 1px solid var(--border);
}

.invoice-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(196, 160, 101, 0.1);
    border: 1px solid var(--gold-primary);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.invoice-header-info { flex-grow: 1; overflow: hidden; }
.invoice-label { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.invoice-protocol { font-size: 1.2rem; color: #fff; font-family: 'Cinzel', serif; }

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.status-badge-pending { background: rgba(230, 162, 60, 0.15); color: #e6a23c; border: 1px solid #e6a23c; }
.status-badge-paid { background: rgba(196, 160, 101, 0.15); color: var(--gold-primary); border: 1px solid var(--gold-primary); }
.status-badge-delivered { background: rgba(76, 175, 80, 0.15); color: var(--success); border: 1px solid var(--success); }
.status-badge-cancelled { background: rgba(244, 67, 54, 0.15); color: var(--danger); border: 1px solid var(--danger); }

.invoice-body { padding: 20px; }

.invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.invoice-row strong { color: #fff; font-weight: 600; }
.invoice-row-bonus strong { color: var(--success); }
.invoice-row-total strong { color: var(--gold-light); font-size: 1.5rem; font-family: 'Cinzel', serif; text-shadow: 0 0 12px rgba(196, 160, 101, 0.4); }

.invoice-divider { height: 1px; background: var(--border); margin: 5px 0; }

.payment-method-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.payment-method-label strong { color: var(--gold-primary); }

/* =========================================
   9. FORMULÁRIO DE CADASTRO (CONTEÚDO)
   ========================================= */
.login-row {
    display: grid; grid-template-columns: 2fr 1fr; gap: 15px;
}

.donate-row {
    display: grid;
    grid-template-columns: 1fr 1fr 210px;
    gap: 15px;
    align-items: start;
    margin-bottom: 25px;
}

.dash-box-total span {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}
#valor_symbol {
    display: inline;
}
#bonus {
    display: inline;
    color: var(--gold-primary);
    font-size: 1.05rem;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(196, 160, 101, 0.4);
}
.bonus-label {
    color: var(--text-muted);
    font-weight: normal;
}
.dash-box-total strong {
    font-size: 2.2rem;
    color: var(--gold-light);
    text-shadow: 0 0 15px rgba(196, 160, 101, 0.5);
}

.terms-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}
.terms-box-title { display: block; color: #fff; margin-bottom: 10px; font-size: 0.9rem; }
.terms-box-content {
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-right: 10px;
}
.terms-box-content::-webkit-scrollbar { width: 6px; }
.terms-box-content::-webkit-scrollbar-track { background: transparent; }
.terms-box-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.terms-box-content::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

select.input-field {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23c4a065%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat; background-position: right 10px top 50%; background-size: 10px auto;
}

.final-login-preview {
    text-align: center; margin-top: 10px; font-size: 0.9rem;
    color: var(--gold-primary); font-weight: bold;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    gap: 12px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 22px;
    width: 22px;
    margin: 0;
}

.custom-checkbox .checkmark {
    position: relative;
    height: 22px;
    width: 22px;
    background-color: #0b0d10;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(196, 160, 101, 0.2);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(196, 160, 101, 0.4);
}

.custom-checkbox .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    color: #000;
    font-size: 13px;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
    display: block;
    animation: zoomIn 0.2s ease-out forwards;
}

.custom-checkbox .checkbox-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: 0.3s;
}

.custom-checkbox .checkbox-text a {
    color: var(--gold-primary);
    font-weight: bold;
}

.custom-checkbox .checkbox-text a:hover {
    color: #fff;
    text-decoration: underline;
}

@keyframes zoomIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
