﻿/*body {
    background: #F5F7FB;
    font-family: 'Segoe UI';
}*/

.home {
    padding: 35px;
}


.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:15px;
}

    .dashboard-header h2 {
        font-weight: 700;
        color: #2b3b52;
    }

    .dashboard-header span {
        color: #7a8798;
    }

.usuario {
    font-size: 18px;
    color: #64748b;
}


.titulo-seccion {
    margin-bottom: 20px;
    color: #334155;
    font-weight: 600;
}


.buscador {
    border-radius: 14px;
    height: 38px;
    border: none;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}


.quick-link {
    background: white;
    border-radius: 18px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #334155;
    text-decoration: none;
    transition: .30s;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

    .quick-link:hover {
        transform: translateY(-6px);
        color: white;
        background: #691a99;
    }

    .quick-link i {
        font-size: 27px;
        margin-bottom: 15px;
    }


.comision {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: .35s;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

    .comision:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,.15);
    }

.icono {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 32px;
    margin: auto;
    margin-bottom: 20px;
}

.estadisticas {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.abrir {
    margin-top: 20px;
    color: #2563EB;
    font-weight: 600;
}



.comision-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    min-height: 340px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: all .30s ease;
    border: 1px solid #edf1f5;
}

    .comision-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(0,0,0,.15);
    }


.comision-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2563EB;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(37,99,235,.35);
}


.comision-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.comision-card h4 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 700;
}

.codigo {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 20px;
}


.info-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.info-box {
    flex: 1;
    background: #f8fafc;
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    border: 1px solid #edf2f7;
}

    .info-box i {
        color: #2563EB;
        font-size: 22px;
        margin-bottom: 8px;
    }

    .info-box strong {
        display: block;
        font-size: 24px;
        color: #334155;
    }

    .info-box small {
        color: #64748b;
    }


.ultima {
    text-align: center;
    margin-top: 10px;
    color: #64748b;
}

    .ultima span {
        display: block;
        font-size: 13px;
    }

    .ultima strong {
        color: #334155;
    }


.abrir {
    margin-top: 25px;
    border-top: 1px solid #edf2f7;
    padding-top: 15px;
    text-align: center;
    font-weight: 600;
    color: #2563EB;
    transition: .3s;
}

.materia-card:hover .abrir {
    letter-spacing: .5px;
}


.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.25s;
    height: 100%;
}

    .dashboard-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .dashboard-card i {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .dashboard-card h2,
    .dashboard-card h5 {
        font-weight: 700;
        margin: 0;
    }

    .dashboard-card span {
        font-size: 0.85rem;
        color: #6b7280;
    }

.ranking-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 6px;
}

.ranking-fill {
    height: 100%;
    background: linear-gradient(90deg, #32044d, #9b4dca);
    border-radius: 20px;
    transition: width 0.6s ease-in-out;
    box-shadow: 0 0 10px rgba(102,10,157,0.35);
}

.dashboard-card i {
    font-size: 26px;
    margin-bottom: 10px;
    color: #660a9d;
}

.dashboard-card h2,
.dashboard-card h5 {
    color: #2d2d2d;
}

h5 i {
    color: #660a9d;
}

/* Aregado nuevo */
.modal-content {
    border-radius: 20px;
}

.modal-header {
    background: #660a9d;
    color: white;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    background: #f8fafc;
}