/* Tipografía moderna y legible */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Fondo ligeramente más vivo */
body.light-mode::after, body.dark-mode::after {
    opacity: 0.35;
    filter: saturate(1.1) brightness(1.05);
}

/* --- TARJETAS (CARD) --- */
.card {
    border: none !important;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* --- BOTONES --- */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #2f6fed;
    border-color: #2f6fed;
}

.btn-primary:hover {
    background-color: #265ed1;
    border-color: #265ed1;
}

.btn-success {
    background-color: #31a36c;
    border-color: #31a36c;
}

.btn-success:hover {
    background-color: #278b5b;
    border-color: #278b5b;
}

.btn-outline-primary {
    color: #2f6fed;
    border-color: #2f6fed;
}

.btn-outline-primary:hover {
    background-color: #2f6fed;
    color: #fff;
}

.btn-danger {
    background-color: #e14b4b;
    border-color: #e14b4b;
}

.btn-danger:hover {
    background-color: #c73e3e;
    border-color: #c73e3e;
}

/* --- FORM ELEMENTOS --- */
.form-select, .form-control {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-select:focus, .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.15);
}

/* --- EFECTO GENERAL DE VIDA --- */
.shadow-soft {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* --- TITULOS --- */
h5, h4, h3 {
    letter-spacing: 0.2px;
}

/* --- DARK MODE (si usás data-bs-theme="dark") --- */
[data-bs-theme="dark"] body, [data-bs-theme="dark"] .card {
    background-color: #212529;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .card {
    background: rgba(33, 37, 41, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .btn-outline-primary:hover {
    background-color: #2f6fed;
    border-color: #2f6fed;
}

.card-header {
    margin-top: 5px;
}
