/* =========================================
   1. FONDO GENERAL / WRAPPER
========================================= */
.daytona-wrapper{
    background:#f3f4f6;
    padding:25px;
    font-family:Arial, sans-serif;
}

/* =========================================
   2. HERO HEADER
========================================= */
.daytona-hero-card{
    background:#fff;
    border-radius:14px;
    padding:18px;
    margin-bottom:20px;
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

/* FILA HERO */
.hero-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:12px;
}

.hero-left h1{
    margin:0;
    font-size:20px;
    color:#111;
}

.hero-left p{
    margin:0;
    font-size:13px;
    color:#6b7280;
}

.hero-right{
    background:#16a34a;
    color:#fff;
    padding:6px 12px;
    border-radius:8px;
    font-size:13px;
}

/* =========================================
   3. STATS HERO
========================================= */
.hero-stats-grid{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.stat{
    flex:1;
    min-width:110px;
    background:#f9fafb;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:12px;
    text-align:center;
}

.stat .big{
    font-size:15px;
    font-weight:700;
    color:#111;
}

/* =========================================
   4. LAYOUT PRINCIPAL (2 COLUMNAS)
========================================= */
.daytona-grid{
    display:flex;
    gap:20px;
    align-items:flex-start;
}

.col-left,
.col-right{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:15px;
}

/* RESPONSIVE */
@media(max-width:900px){
    .daytona-grid{
        flex-direction:column;
    }
}

/* =========================================
   5. CARDS BASE
========================================= */
.card{
    background:#fff;
    border-radius:14px;
    padding:16px;
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    border:1px solid #eef0f3;
}

.card h2{
    font-size:15px;
    margin:0 0 10px;
    color:#111;
}

/* VARIANTES */
.card.green{
    border-left:4px solid #16a34a;
}

.card.green-soft{
    border-left:4px solid #22c55e;
    background:#f0fdf4;
}

.card.blue-soft{
    border-left:4px solid #3b82f6;
    background:#eff6ff;
}

/* =========================================
   6. BOTONES
========================================= */
.btn-blue{
    display:inline-block;
    margin-top:10px;
    background:#2563eb;
    color:#fff !important;
    padding:8px 12px;
    border-radius:10px;
    text-decoration:none;
    font-size:13px;
}

.ecep-btn{
    display:inline-block;
    padding:12px 22px;
    margin-right:8px;
    margin-top:8px;
    background:#0073aa;
    color:#fff !important;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition:.25s;
}

.ecep-btn:hover{
    opacity:.9;
    color:#fff;
}



/* =========================================
   7. PDF LIST
========================================= */
.pdf-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px;
    border-radius:10px;
    background:#f9fafb;
    margin-bottom:8px;
}

.pdf-title{
    font-size:13px;
    font-weight:600;
}

.pdf-actions a{
    font-size:12px;
    margin-left:8px;
    color:#2563eb;
    text-decoration:none;
}

/* =========================================
   8. PROGRESO BAR
========================================= */
.progress-bar{
    width:100%;
    height:10px;
    background:#e5e7eb;
    border-radius:10px;
    overflow:hidden;
    margin-top:8px;
}

.progress-bar .fill{
    height:100%;
    background:#16a34a;
    width:0%;
    transition:width 0.4s ease;
}

.progress-text{
    display:flex;
    justify-content:space-between;
    margin-top:8px;
    font-size:12px;
    color:#6b7280;
}

/* =========================================
   9. TABLA ASISTENCIA
========================================= */
.ecep-table{
    width:100%;
    border-collapse:collapse;
    font-size:13px;
}

.ecep-table th{
    background:#93c5fd !important;
    color:#ffffff !important;
    padding:6px;
    text-align:center;
}

.ecep-table td{
    text-align:center;
    padding:6px;
    border-bottom:1px solid #e5e7eb;
}

.ecep-table tr:hover{
    background:#f9fafb;
}

/* =========================================
   10. BADGES / LABELS
========================================= */
.badge{
    background:#16a34a;
    color:#fff;
    padding:3px 8px;
    border-radius:8px;
    font-size:11px;
}

.ecep-badge{
    display:inline-block;
    padding:4px 10px;
    border-radius:20px;
    color:#fff;
    font-size:12px;
    font-weight:600;
}

/* =========================================
   11. LINKS
========================================= */
.link-all{
    display:block;
    margin-top:10px;
    font-size:12px;
    color:#2563eb;
    cursor:pointer;
}


/* ==========================================
   12. ESTADOS
========================================== */
.ecep-activa{
    background:#dff7df !important;
    font-weight:600;
}

.ecep-activa td{
    background:#dff7df !important;
}

/* ==========================================
   13. STATS
========================================== */
.ecep-stats{
    margin:20px 0;
}

.ecep-stat{
    display:inline-block;
    width:22%;
    min-width:180px;
    margin:5px;
    background:#fff;
    border-radius:16px;
    padding:25px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.06);
    transition:.25s;
}

.ecep-stat:hover{
    transform:translateY(-3px);
}

.ecep-stat span{
    display:block;
    font-size:28px;
    font-weight:700;
    color:#0073aa;
}

.ecep-stat small{
    color:#6b7280;
}

/* ==========================================
   14. BOXES
========================================== */

.ecep-box{
    background:#fff;
    padding:25px;
    border-radius:16px;
    margin-bottom:25px;
    box-shadow:0 4px 12px rgba(0,0,0,.06);
}

.ecep-dashboard h3{
    margin-top:30px;
    margin-bottom:12px;
    color:#1f2937;
}

/* ==========================================
   15. Ficha Alumno
========================================== */
.ecep-ficha-grid{
    margin-top:15px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.ecep-ficha-grid .row{
    display:flex;
    align-items:center;
    padding:8px 12px;
    border-bottom:1px solid #eee;
    background:#fff;
    border-radius:6px;
}

.ecep-ficha-grid .label{
    width:180px;
    min-width:180px;
    font-weight:600;
    color:#555;
}

.ecep-ficha-grid .value{
    flex:1;
    color:#111;
    word-break:break-word;
}
