/* =========================================================
   ROLAS.PRO – ESTILOS GLOBALES DEFINITIVOS
   Sistema visual unificado · Mobile First
   /home3/rolaspro/public_html/assets/styles.css
========================================================= */

/* =======================
   RESET / BASE
======================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*{
    box-sizing:border-box;
}

body{
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin:0;
    background:#020617;
    color:white;
    line-height:1.6;
    font-size:17px;
}

a{
    color:#22c55e;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}

/* =======================
   LAYOUT
======================= */
.container{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}

.container.narrow{
    max-width:900px;
}

.section{
    padding:60px 0;
}

/* =======================
   TIPOGRAFÍA
======================= */
h1{
    font-size:32px;
    margin-bottom:30px;
    text-align:center;
}

h2{
    font-size:26px;
    margin-bottom:15px;
}

h3{
    font-size:22px;
    margin-bottom:10px;
}

label{
    display:block;
    margin-top:20px;
    font-weight:bold;
}

p{
    font-size:17px;
}

.small{
    font-size:13px;
    opacity:.75;
    margin-top:6px;
    line-height:1.4;
}

/* =======================
   CARDS
======================= */
.card{
    background:#020617;
    border:2px solid #1e293b;
    border-radius:16px;
    padding:22px;
    margin-bottom:25px;
    position:relative;
}

.card.step{
    border-color:#22c55e;
}

.card.option{
    cursor:pointer;
    transition:.25s;
}

.card.option:hover,
.card:hover{
    border-color:#22c55e;
    transform:translateY(-4px);
}

.card.option.selected,
.card.selected{
    border-color:#22c55e;
    background:#052e16;
}

/* Variante compacta */
.card.compact{
    padding:16px;
}

/* =======================
   BADGES
======================= */
.badge{
    position:absolute;
    top:-12px;
    right:15px;
    background:#22c55e;
    color:black;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
}

.badge.hot{
    background:#ef4444;
    color:white;
}

/* =======================
   PRECIOS
======================= */
.price{
    font-size:26px;
    color:#22c55e;
    font-weight:bold;
    margin-top:10px;
}

.total{
    font-size:32px;
    color:#22c55e;
    font-weight:bold;
}

.total_box{
    text-align:center;
    font-size:24px;
    margin-top:30px;
}

/* =======================
   BOTONES
======================= */
.cta{
    display:inline-block;
    width:100%;
    padding:20px;
    background:#22c55e;
    color:black;
    font-weight:bold;
    font-size:18px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    text-align:center;
    text-decoration:none;
    margin-top:25px;
}

.cta:hover{
    background:#16a34a;
}

.cta.secondary{
    background:#1e293b;
    color:white;
    border:2px solid #22c55e;
}

.cta.disabled{
    opacity:.5;
    cursor:not-allowed;
    pointer-events:none;
}

/* Mini botón play */
.mini_play{
    margin-top:10px;
    background:#1e293b;
    color:white;
    border:none;
    padding:8px 12px;
    border-radius:8px;
    cursor:pointer;
}

.mini_play:hover{
    background:#334155;
}

/* =======================
   FORMULARIOS
======================= */
input,
select,
textarea{
    width:100%;
    padding:14px;
    border-radius:10px;
    border:2px solid #1e293b;
    background:#020617;
    color:white;
    font-size:16px;
    margin-top:6px;
}

textarea{
    min-height:220px;
    line-height:1.6;
}

/* =======================
   GRID TARJETAS
======================= */
.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:22px;
    margin-top:20px;
}

/* =======================
   MENSAJES / AVISOS
======================= */
.notice{
    margin-top:12px;
    font-size:14px;
    opacity:.85;
}

.warning{
    background:#3f1d1d;
    border:2px solid #ef4444;
    border-radius:12px;
    padding:15px;
    color:#fecaca;
    margin-top:20px;
}

.alert_ok{
    background:#052e16;
    border:2px solid #22c55e;
    padding:15px;
    border-radius:12px;
    margin-bottom:25px;
    color:#bbf7d0;
    font-weight:bold;
    text-align:center;
}

/* =======================
   TRANSFERENCIA
======================= */
.transfer-box{
    background:#020617;
    border:1px dashed #22c55e;
    border-radius:12px;
    padding:20px;
    margin-top:15px;
    line-height:1.6;
}

/* =======================
   HR
======================= */
hr{
    border:none;
    border-top:1px solid #1e293b;
    margin:30px 0;
}

/* =======================
   LOADER / SPINNER
======================= */
.loader{
    text-align:center;
    padding:60px 20px;
    opacity:.8;
}

.spinner{
    border:5px solid #1e293b;
    border-top:5px solid #22c55e;
    border-radius:50%;
    width:60px;
    height:60px;
    margin:0 auto 20px auto;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    0%{ transform:rotate(0deg); }
    100%{ transform:rotate(360deg); }
}

/* =======================
   PROGRESS BAR
======================= */
#loading_box{
    display:none;
    margin-top:25px;
}

.progress_bg{
    width:100%;
    background:#1e293b;
    height:14px;
    border-radius:20px;
    overflow:hidden;
}

.progress_fill{
    height:100%;
    width:0%;
    background:#22c55e;
    transition:width 1s linear;
}

/* =======================
   AUDIO
======================= */
.audio_box{
    border:2px solid #22c55e;
    border-radius:14px;
    padding:20px;
    margin-bottom:20px;
}

audio{
    width:100%;
    margin-top:10px;
}

/* =======================
   PRE / TEXTO
======================= */
pre{
    white-space:pre-wrap;
    font-family:inherit;
    line-height:1.6;
    font-size:16px;
}

/* =======================
   RESPONSIVE – MOBILE
======================= */
@media (max-width: 768px){

    body{
        font-size:18px;
    }

    .container{
        padding:25px 16px;
    }

    h1{
        font-size:26px;
    }

    h2{
        font-size:22px;
    }

    h3{
        font-size:20px;
    }

    .card{
        padding:18px;
    }

    .cta{
        font-size:18px;
        padding:18px;
    }

    input,
    select,
    textarea{
        font-size:18px;
        padding:16px;
    }

    textarea{
        min-height:200px;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .total{
        font-size:26px;
    }

}

/* =======================
   TABLAS STAFF
======================= */
.table{
    width:100%;
    border-collapse:collapse;
    margin-top:25px;
    font-size:14px;
}

.table th{
    text-align:left;
    padding:16px 14px;
    border-bottom:2px solid #1e293b;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#94a3b8;
    font-weight:600;
}

.table td{
    padding:18px 14px;
    border-bottom:1px solid #1e293b;
    vertical-align:middle;
}

.table tr:hover{
    background:#0b1220;
}

.table .folio{
    font-weight:700;
    letter-spacing:1px;
    font-size:15px;
}

.table .fecha{
    color:#94a3b8;
    font-size:13px;
}

.table .status{
    font-size:13px;
    opacity:.8;
}

.table .total_cell{
    color:#22c55e;
    font-weight:600;
    font-size:15px;
}

.table .action_link{
    color:#22c55e;
    font-weight:600;
    font-size:14px;
}


.dashboard-wrapper{
    max-width:1000px;
    margin:0 auto;
}

.dashboard-card{
    padding:30px 35px;
}


