body{
    background: #f4f6f9;
    font-family: 'Poppins', sans-serif;
    color: #1f2937;
}

.card-grupo {
  transition: all .25s ease;
  cursor: pointer;
}

.card-grupo:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0,0,0,.15);
}

.dashboard-wrapper{
    padding-top: 130px;
    padding-bottom: 70px;
}

.hero-panel{
    background: white;
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 35px;

    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.hero-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.dashboard-title{
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.dashboard-subtitle{
    color: #6b7280;
    margin: 0;
}

.year-selector-wrapper{
    min-width: 220px;
}

.year-label{
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #374151;
}

.year-selector{
    border-radius: 14px;
    height: 50px;
    border: 1px solid #d1d5db;
    box-shadow: none !important;
}

.section-title{
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 35px;
    color: #111827;
}

.section-divider{
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #d1d5db,
        transparent
    );

    margin: 55px 0;
}

/* Cards de gráficas */

.chart-card{
    background: white;
    border-radius: 22px;
    padding: 25px;

    box-shadow: 0 8px 25px rgba(0,0,0,.05);

    transition: all .2s ease;
}

.chart-card:hover{
    transform: translateY(-3px);

    box-shadow: 0 14px 35px rgba(0,0,0,.08);
}

/* Modal */

.modal-content{
    border: none;
    border-radius: 24px;
    overflow: hidden;

    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.modal-header{
    border-bottom: 1px solid #eef2f7;
    padding: 22px 28px;
}

.modal-title{
    font-weight: 700;
    color: #111827;
}

.modal-body{
    padding: 28px;
}

.modal-footer{
    border-top: 1px solid #eef2f7;
    padding: 18px 28px;
}

/* Tabs */

.nav-tabs{
    border-bottom: 1px solid #e5e7eb;
    gap: 10px;
}

.nav-tabs .nav-link{
    border: none !important;

    border-radius: 8px 8px 0px 0px;

    padding: 12px 18px;

    font-weight: 500;

    color: #6b7280;
}

.nav-tabs .nav-link.active{
    background: #198754 !important;
    color: white !important;
}

/* Tablas */

.table{
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th{
    background: #f8fafc;
    border-bottom: 2px solid #e5e7eb;

    font-weight: 600;
    color: #374151;
}

.table td,
.table th{
    padding: 14px;
    vertical-align: middle;
}

.table tbody tr:hover{
    background: #fafafa;
}

.select-modern select {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    font-weight: 500;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.select-modern select:focus {
    border-color: rgba(22, 163, 74, 0.6);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

/* Responsive */

@media(max-width: 768px){

    .hero-content{
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-title{
        font-size: 1.8rem;
    }

    .modal-body{
        padding: 18px;
    }

}