:root {
    --light-shadow: #ffffff;
    --dark-shadow: #bebebe;
    --text-color: #333;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s;
}

/* Estilo Base Neumorphism Card */
.neo-card {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow:
        10px 10px 20px var(--dark-shadow),
        -10px -10px 20px var(--light-shadow);
    transition: all 0.2s ease-in-out;
}

/* Estilo para Títulos */
.neo-card-title {
    color: var(--danger-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Estilo para números grandes */
.neo-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Efecto Inset */
.neo-inset {
    box-shadow:
        inset 5px 5px 10px var(--dark-shadow),
        inset -5px -5px 10px var(--light-shadow);
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
}

/* Contenedor de Gráficos */
.neo-chart-container {
    min-height: 400px;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.neo-chart-container canvas {
    max-height: 100%;
    height: 100%;
    width: 100%;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* Estilos para la tabla */
.neo-table-container {
    overflow-x: auto;
    border-radius: 20px;
}

.neo-table {
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.neo-table th,
.neo-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(190, 190, 190, 0.5);
}

.neo-table th {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.neo-table tr:last-child td {
    border-bottom: none !important;
}

.neo-table tr:last-child td:first-child {
    border-radius: 0 0 0px 20px !important;
}

.neo-table tr:last-child td:last-child {
    border-radius: 0 0 20px 0px !important;
}

.neo-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.5);
}

.fuente {
    font-size: 0.9em !important;
}
