/* Estilo para rifas con ganadores */
.rifa-completada {
    border: 2px solid #22c55e !important; /* Verde vibrante */
    background: rgba(34, 197, 94, 0.05) !important;
    position: relative;
}

    .rifa-completada::after {
        content: 'COMPLETADO';
        position: absolute;
        top: 5px;
        right: 10px;
        font-size: 0.6rem;
        font-weight: 900;
        color: #22c55e;
        letter-spacing: 1px;
    }

.badge-check {
    background: #22c55e;
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 0.7rem;
}

:root {
    --gold: #c5a059;
    --gold-bright: #f1d592;
    --deep-blue: #0f172a;
    --glass-bg: rgba(15, 23, 42, 0.9);
}

body {
    background: radial-gradient(circle at center, #1e293b 0%, #020617 100%);
    font-family: 'Montserrat', sans-serif;
    color: #f8fafc;
    min-height: 100vh;
    overflow-x: hidden;
}

.luxury-text {
    font-family: 'Cinzel', serif;
    background: linear-gradient(to bottom, #f1d592 0%, #c5a059 50%, #8a6d3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    max-width: 450px;
}

.wheel-outer {
    position: relative;
    padding: 15px;
    background: #000;
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(197, 160, 89, 0.2);
    border: 3px solid var(--gold);
    display: inline-block;
}

#canvasRuleta {
    transition: transform 9s cubic-bezier(0.1, 0, 0.05, 1);
    border-radius: 50%;
    max-width: 530px;
}

.wheel-pointer {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.btn-gold {
    background: linear-gradient(45deg, #8a6d3b, #c5a059, #f1d592);
    border: none;
    color: #020617;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: 0.3s;
    text-transform: uppercase;
}

    .btn-gold:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
    }

.modal-luxury {
    background: #0a0e14;
    border: 2px solid var(--gold);
    border-radius: 35px;
    text-align: center;
    color: white;
}

.text-loser-status {
    background: linear-gradient(to bottom, #ff4b2b 0%, #a82020 50%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.name-winner-mega {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 10px 0;
}

.client-id-badge {
    font-size: 1rem;
    color: var(--gold-bright);
    opacity: 0.8;
    letter-spacing: 2px;
}

.folio-tag {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 20px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.raffle-selected-banner {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.3) 100%);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 15px;
    position: relative;
    padding: 20px 15px 15px 15px;
}

.welcome-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--gold);
    padding: 60px;
    border-radius: 40px;
    backdrop-filter: blur(5px);
    max-width: 600px;
}

.history-badge {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 8px;
    padding: 12px;
    font-size: 0.8rem;
    border-left: 4px solid var(--gold);
}



:root {
    --gold: #c5a059;
    --glass-bg: rgba(15, 23, 42, 0.9);
}

body {
    background: radial-gradient(circle at center, #1e293b 0%, #020617 100%);
    font-family: 'Montserrat', sans-serif;
    color: #f8fafc;
}

.luxury-title {
    font-family: 'Cinzel', serif;
    background: linear-gradient(to bottom, #f1d592 0%, #c5a059 50%, #8a6d3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.table-container {
    background: var(--glass-bg);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

table.dataTable {
    border-collapse: collapse !important;
    color: #e2e8f0 !important;
}

.table thead th {
    background-color: rgba(197, 160, 89, 0.1) !important;
    color: var(--gold) !important;
    border-bottom: 2px solid var(--gold) !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Estilo para los botones de Excel/Export */
.dt-buttons .btn {
    background: linear-gradient(45deg, #8a6d3b, #c5a059);
    border: none;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    margin-right: 5px;
    transition: 0.3s;
}

    .dt-buttons .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
    }

.dataTables_filter input {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid var(--gold) !important;
    color: white !important;
    border-radius: 10px;
}