html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.sidebar {
    background-image: linear-gradient(180deg, #2C3E50 0%, #1a252f 100%);
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.top-row {
    background-color: #1a252f !important;
    border-bottom: 1px solid #34495e;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.4rem;
    color: #ecf0f1 !important;
}

.nav-link {
    color: #bdc3c7 !important;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 10px 15px !important;
    margin: 2px 0;
}

    .nav-link:hover {
        background-color: #34495e !important;
        color: white !important;
    }

    .nav-link.active {
        background-color: #2980b9 !important;
        color: white !important;
        font-weight: 600;
    }

.card {
    border-radius: 15px !important;
    border: none !important;
    transition: transform 0.2s;
}

    .card:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background-color: #2980b9 !important;
    border: none !important;
}

    .btn-primary:hover {
        background-color: #1f618d !important;
    }

.btn-link.text-warning {
    color: #f1c40f !important;
    font-weight: 600;
}

    .btn-link.text-warning:hover {
        color: #f39c12 !important;
        text-decoration: none;
        background-color: rgba(241, 196, 15, 0.1) !important;
    }

/* =========================================
   DISEÑO MODERNO (LOOK 2026)
========================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background-color: #f4f7fe; /* Fondo gris-azulado súper moderno y limpio */
    color: #2b3674; /* Azul oscuro en lugar de negro puro */
}

/* Tarjetas estilo "Glass" y suaves */
.card {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0px 10px 30px rgba(112, 144, 176, 0.12) !important;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 15px 35px rgba(112, 144, 176, 0.2) !important;
    }

.card-header {
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
}

/* Botones modernos con degradados y bordes redondeados */
.btn {
    border-radius: 14px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, #4318FF 0%, #868CFF 100%) !important;
    color: white !important;
    box-shadow: 0px 5px 15px rgba(67, 24, 255, 0.3) !important;
}

    .btn-primary:hover {
        transform: scale(1.03);
        box-shadow: 0px 8px 20px rgba(67, 24, 255, 0.4) !important;
    }

.btn-success {
    background: linear-gradient(135deg, #01B574 0%, #02D68A 100%) !important;
    color: white !important;
    box-shadow: 0px 5px 15px rgba(1, 181, 116, 0.3) !important;
}

    .btn-success:hover {
        transform: scale(1.03);
    }

/* Inputs de texto elegantes */
.form-control, .form-select {
    border-radius: 14px !important;
    padding: 12px 16px !important;
    border: 1px solid #E0E5F2 !important;
    background-color: #F4F7FE !important;
    color: #2b3674 !important;
    font-weight: 600;
}

    .form-control:focus, .form-select:focus {
        background-color: #ffffff !important;
        border-color: #4318FF !important;
        box-shadow: 0 0 0 4px rgba(67, 24, 255, 0.1) !important;
    }

/* Banner Dashboard */
.banner-gradient {
    background: linear-gradient(135deg, #4318FF 0%, #868CFF 100%);
    border-radius: 24px;
    color: white;
    box-shadow: 0px 10px 30px rgba(67, 24, 255, 0.25);
}

/* Tarjetas de estadísticas */
.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}