/* GDE 2.0 - Estilos Institucionales v6.0 */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #EEF2F7;
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #EEF2F7; }
::-webkit-scrollbar-thumb { background: #B0C4DE; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #7A9CBF; }

/* Sidebar Active */
.active-menu-item {
    background-color: rgba(255, 255, 255, 0.10) !important;
    border-left: 3px solid #5DB8E8 !important;
    color: #ffffff !important;
    padding-left: calc(0.75rem - 3px) !important;
}
.active-menu-item i { color: #5DB8E8 !important; }

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleUp {
    from { transform: scale(0.96); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
.animate-fadeIn  { animation: fadeIn  0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-scaleUp { animation: scaleUp 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Utility */
.select-all { user-select: all; }

/* Card hover lift */
.kpi-card { transition: box-shadow 0.15s ease, transform 0.15s ease; }
.kpi-card:hover { transform: translateY(-2px); }

/* Toast */
#global-toast { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

/* Profile tab style */
.profile-tab-active {
    background: #1366AC;
    color: #ffffff !important;
    border-radius: 6px;
}
.profile-tab-inactive {
    color: #4B6A8A;
    border-radius: 6px;
}
.profile-tab-inactive:hover {
    background: #EEF2F7;
    color: #1366AC;
}

/* Table row hover */
tbody tr:hover { background-color: #F5F8FC !important; }

/* Status dot pulse */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.pulse-dot { animation: pulse-dot 2s ease-in-out infinite; }

/* GDE Badge */
.gde-badge-apn {
    font-family: 'Inter', monospace;
    letter-spacing: 0.02em;
}

/* Form inputs GDE style */
.gde-input {
    border: 1px solid #C5D5E8;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    background: #FAFCFF;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
}
.gde-input:focus {
    border-color: #1366AC;
    box-shadow: 0 0 0 3px rgba(19,102,172,0.10);
    background: #fff;
}

/* Sidebar section header */
.sidebar-section-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4A6080;
    padding: 12px 16px 4px;
}

/* Alert strip */
.alert-strip-critical { border-left: 4px solid #C62828; }
.alert-strip-warning  { border-left: 4px solid #E65100; }
.alert-strip-info     { border-left: 4px solid #1366AC; }
