/* Fonts */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
}

/* Navbar */
.navbar-white {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

/* Cards & Sections */
.section-card {
    border-radius: 12px;
    background: #ffffff;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.section-card:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important;
}

.card-header {
    background: transparent;
    border-bottom: none;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.form-control:disabled,
.form-select:disabled {
    background-color: #f8f9fa;
    /* Lighter background for disabled state */
    opacity: 0.8;
}

/* Tables */
.custom-table th {
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.custom-table td input,
.custom-table td select {
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    transition: all 0.2s;
}

/* Read-only badges */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Utilities */
.opacity-10 {
    opacity: 0.1;
}

/* Responsive Utilities */
@media (max-width: 576px) {
    .w-sm-auto {
        width: 100% !important;
    }
}

@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }
}

/* Leyendas Informativas */
.info-legend {
    font-size: 0.85rem;
    color: #5c636a;
    background-color: #e9ecef;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: flex-start;
    border-left: 4px solid #0d6efd;
}

.info-legend i {
    color: #0d6efd;
    font-size: 1.1rem;
    margin-top: -0.1rem;
    margin-right: 0.5rem;
}

/* Custom Main Title */
.main-title {
    font-size: 35px;
    font-weight: 600;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #0d6efd, #0b5ed7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}