/* * IT-Guardian Custom Stylesheet
 * Gestión de estilos para Dashboard y Consola Remota
 */

/* Tipografías base */
body {
    font-family: 'Inter', sans-serif;
}

.terminal-font {
    font-family: 'Fira Code', monospace;
}

/* Scrollbars personalizadas (Look moderno) */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Ventana de Terminal Remota */
.terminal-window {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Efecto de línea de escaneo (CRT Style) */
.scanline {
    width: 100%;
    height: 2px;
    background: rgba(34, 197, 94, 0.05);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    animation: scan 4s linear infinite;
    z-index: 20;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* Animación de pulso para estados activos */
.pulse-green {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.alert-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-dot-active {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-dot-idle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* Transiciones de la consola colapsable */
#remote-console {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.2);
}

.console-minimized {
    transform: translateY(calc(100% - 44px));
}

/* Efectos de cristal (Glassmorphism) para headers */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Estilos de tabla en terminal */
.terminal-table {
    text-align: left;
    border-collapse: separate;
    border-spacing: 1rem 0.25rem;
    font-size: 0.75rem;
    color: #94a3b8;
    /* slate-400 */
}

.terminal-table th {
    color: #cbd5e1;
    /* slate-300 */
    text-transform: uppercase;
    font-weight: 700;
}