/* Estilos personalizados para la aplicación de control de gastos */

body {
    font-size: .875rem;
    background-color: #f8f9fa;
}

.login-container, .register-container {
    max-width: 420px;
    margin: 10px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}


/* Cards del dashboard */
.dashboard-card {
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 25px;
    height: 100%;
    transition: transform 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.card-ingresos {
    background-color: #28a745;
    color: white;
}

.card-gastos {
    background-color: #dc3545;
    color: white;
}

.card-balance {
    background-color: #007bff;
    color: white;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.money-amount {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0;
}

/* Charts y tablas */
.chart-container, .data-table {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.filter-form {
    margin-bottom: 2rem;
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.chart-wrapper {
    padding: 10px;
    height: 400px;
    margin: 0 auto;
}

/* Estilos específicos para las gráficas del dashboard principal */
.dashboard .chart-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.dashboard .chart-wrapper {
    padding: 10px;
    height: 400px;
    margin: 0 auto;
    position: relative;
}

/* Asegurar que las gráficas de donut sean proporcionales */
.dashboard canvas {
    max-height: 400px !important;
    max-width: 100% !important;
}

/* Responsive para gráficas */
@media (max-width: 768px) {
    .dashboard .chart-wrapper {
        height: 300px;
    }
    
    .dashboard canvas {
        max-height: 300px !important;
    }
}

/* Estilos para dispositivos móviles */
@media (max-width: 991.98px) {
   
    
    .content-wrapper {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
   
    .dashboard-card {
        margin-bottom: 15px;
    }
    
    .filter-form {
        margin-bottom: 1rem;
    }
    
    .chart-wrapper {
        height: 350px;
    }
}

/* Resto de estilos existentes */
.expense-income-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    
    .content-wrapper {
        margin-left: 0 !important;
    }
    
    .login-container, .register-container {
        margin: 50px 15px;
    }
    
    .chart-container, .data-table {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .dashboard-card {
        margin-bottom: 15px;
    }
} 