/* Estilos específicos para la calculadora de presupuesto */

.section-title {
    border-bottom: 2px solid #e8eced;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.section-title h4 {
    color: #495257;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Card styles */
.budget-card {
    border: none;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}

.budget-card .card-header {
    background-color: #0073b9;
    border-radius: 16px 16px 0 0 !important;
    padding: 1.5rem;
}

.budget-card .card-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.budget-card .card-body {
    padding: 2rem;
}

/* Form styles */
.budget-form .form-label {
    color: #1f2426;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.budget-form .form-control {
    border: 1px solid #d5d9db;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.budget-form .form-control:focus {
    border-color: #0073b9;
    box-shadow: 0 0 0 0.2rem rgba(0, 115, 185, 0.25);
}

.budget-form .form-control::-webkit-inner-spin-button,
.budget-form .form-control::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Button styles */
.budget-form .btn-primary {
    background-color: #0073b9;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease;
}

.budget-form .btn-primary:hover {
    background-color: #005b98;
}

/* Results section */
.budget-results {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.budget-results .table {
    margin-bottom: 0;
}

.budget-results .table td {
    border-top: 1px solid #e8eced;
    padding: 1rem;
    color: #1f2426;
}

.budget-results .table td:last-child {
    font-weight: 500;
}

.budget-results .table tr.table-active {
    background-color: #f8f9fa;
}

.budget-results .table tr.table-active td {
    color: #0073b9;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .budget-card .card-header {
        padding: 1rem;
    }

    .budget-card .card-body {
        padding: 1rem;
    }

    .budget-card .card-header h3 {
        font-size: 1.25rem;
    }

    .budget-results {
        padding: 1rem;
    }
}

/* Animations */
.budget-results {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.budget-results.show {
    opacity: 1;
    transform: translateY(0);
}

/* Helper classes */
.text-end {
    text-align: right !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
} 