/* ==========================================================================
   Estilos Comunes para Reportes y Resultados Financieros (Estilo Tradicional)
   ========================================================================== */

/* Animación y sombreado al pasar el cursor sobre las tarjetas */
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Tabs de trimestres (Exclusivo de Reportes Financieros) */
#tabsTrimestres {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 0 1.5rem 0;
    gap: 10px;
}

#tabsTrimestres .nav-item {
    flex: 0 1 200px;
    margin: 0;
}

#tabsTrimestres .nav-link {
    background-color: #ffffff;
    color: #495057;
    font-weight: 600;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 24px;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

#tabsTrimestres .nav-link.active {
    background-color: #4f2ec2;
    border-color: #4f2ec2;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(79, 46, 194, 0.2);
}

#tabsTrimestres .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
    border-color: #cbd5e1;
    color: #4f2ec2;
}

/* Lista de reportes estilo tradicional */
.card-header {
    background-color: transparent;
    border: none;
    padding: 0;
}

ul.card-header li {
    list-style: none;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.wrapper-icon-reportes {
    margin-bottom: 0;
    margin-right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper-icon-reportes img {
    max-height: 100%;
}

.wrapper-incon-dowload {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #4f2ec2;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(79, 46, 194, 0.25);
}

.wrapper-incon-dowload:hover {
    background-color: #3d239b;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(79, 46, 194, 0.4);
    opacity: 1;
}

.wrapper-incon-dowload i,
.wrapper-incon-dowload i[class*="fs-"] {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
}

ul.card-header li h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3b4559;
}

/* ==========================================================================
   System Design Totalplay - Botones y Tarjetas de Comunicados
   ========================================================================== */
.btn-totalplay-primary {
    background-color: #4f2ec2 !important;
    border-color: #4f2ec2 !important;
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-totalplay-primary:hover {
        background-color: #3d239b !important;
        border-color: #3d239b !important;
        color: #ffffff !important;
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 6px 16px rgba(79, 46, 194, 0.3);
    }

.btn-totalplay-outline {
    background-color: transparent !important;
    border-color: #4f2ec2 !important;
    color: #4f2ec2 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-totalplay-outline:hover {
        background-color: #4f2ec2 !important;
        color: #ffffff !important;
        box-shadow: 0 6px 16px rgba(79, 46, 194, 0.3);
    }

.card-comunicado {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-comunicado-title a {
    color: #1e1f28;
    transition: color 0.3s ease;
}

.card-comunicado-title a:hover {
    color: #4f2ec2;
}

