/* 
*****************************************************************************************
SISTEMA:................. FLICKERSALE APEX v61.9.67.0 BETA
DIRECTOR:................ Wilmer Eliud Bejarano Valladares (WEB)
ARCHIVO:................. apex_master_40.css
FUNCIONALIDAD:........... SINCRO TOTAL v67.0 - EVOLUCIÓN ESTÉTICA Y BLINDAJE
FECHA DE MODIFICACIÓN:... Lunes, 13 de abril de 2026 (09:00:00)
*****************************************************************************************
*/

@font-face { font-family: 'Orbitron'; src: url('../fonts/Orbitron-Regular.ttf?v=1.0.1') format('truetype'); font-weight: normal; font-display: block; }
@font-face { font-family: 'Orbitron'; src: url('../fonts/Orbitron-Bold.ttf?v=1.0.1') format('truetype'); font-weight: bold; font-display: block; }
@font-face { font-family: 'Exo 2'; src: url('../fonts/Exo2-Regular.ttf?v=1.0.1') format('truetype'); font-weight: normal; font-display: block; }

:root {
    --neon-cian: #00FFFF;
    --azul-marino: #002147;
    --plastified-bg: linear-gradient(180deg, rgba(26, 35, 46, 0.95) 0%, rgba(13, 18, 24, 0.98) 100%);
    --border-ui: rgba(0, 255, 255, 0.01);
    --exito-verde: #00ff88;
    --error-rojo: #ff4d4d;
    --amarillo-beta: #c29100; /* [AMARILLO BETA MÁS VIBRANTE] */
    --amarillo-oscuro: #b8860b; /* [AMARILLO OSCURO PARA BETA TAG] */
    --bg-dark: #0b1014;
    --orbitron-spacing: 2px;
    --exo-spacing: 0.5px;
}

* { user-select: none; -webkit-user-drag: none; box-sizing: border-box; cursor: default; }

html, body {
    margin: 0; padding: 0;
    width: 100%; height: 100vh;
    overflow: hidden !important;
    background: url('../images/flickersale_apex_wallpaper.png') no-repeat center center fixed;
    background-size: cover; color: #FFFFFF; font-family: 'Exo 2', sans-serif;
    letter-spacing: var(--exo-spacing);
    display: flex; flex-direction: column; position: relative;
}

/* [BLINDAJE DE FRANJAS GLOBALES v69.8 APEX] */
body::before, body::after {
    content: ''; position: fixed; top: 78px; bottom: 35px; width: 3px;
    background: var(--neon-cian); box-shadow: 0 0 15px var(--neon-cian), 0 0 30px var(--neon-cian);
    z-index: 5000; opacity: 0.8;
}
body::before { left: 0; }
body::after { right: 0; }

/* [CABECERA RESPONSIVA v9.5.0] */
#supervision_mosaic {
    display: grid;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.cctv-cell {
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.cctv-cell:hover {
    transform: translateY(-5px);
    border-color: var(--exito-verde) !important;
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.2);
}

.interactive-terminal canvas {
    width: 100% !important;
    height: auto !important;
}

/* [TÍTULO MOSAICO 3D] */
.mosaic-title-3d {
    font-family: 'Orbitron';
    font-weight: bold;
    color: var(--neon-cian);
    text-shadow: 
        2px 2px 0px #004a4a,
        4px 4px 0px #002a2a,
        0 0 20px rgba(0, 255, 255, 0.4);
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: 0.3s;
}

.mosaic-title-3d:hover {
    color: #FFF;
    text-shadow: 
        2px 2px 0px var(--neon-cian),
        4px 4px 0px #004a4a,
        0 0 30px var(--neon-cian);
}

header {
    display: flex; align-items: center; padding: 12px 30px; height: 78px;
    background: rgba(11, 16, 22, 0.95); border-bottom: 2px solid #1a2129;
    gap: 15px; backdrop-filter: blur(10px); z-index: 1001; flex-shrink: 0; transition: 0.3s;
}

@media (max-width: 768px) {
    header { 
        padding: 10px 15px; height: auto; gap: 10px; 
        flex-direction: column; align-items: stretch;
        border-bottom: 2px solid var(--border-ui);
    }
    .header-top-row-mobile {
        display: flex; align-items: center; justify-content: space-between;
        width: 100%;
    }
    .header-bottom-row-mobile {
        display: flex; align-items: center; justify-content: center;
        width: 100%; padding: 5px 0;
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    .logo-box { width: 38px; height: 38px; font-size: 16px; }
    .fs-name { font-size: 16px; }
    
    .connection-id-center { 
        position: static !important; transform: none !important; 
        font-size: 16px !important; padding: 4px 15px;
        background: rgba(0,0,0,0.8); border: 1px solid var(--amarillo-oscuro);
        width: 100%; text-align: center; display: flex !important; justify-content: center;
    }
}

@media (max-width: 500px) {
    .meta-group { display: none !important; }
    .user-info { gap: 6px; font-size: 10px !important; margin-left: auto; }
    .user-label { display: none; }
    .master-switch { padding: 4px 8px; font-size: 16px; margin-left: 8px; }
}

.logo-box {
    width: 54px; height: 54px; background: var(--azul-marino); border: 2px solid #004a91;
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    font-family: 'Orbitron', sans-serif !important; font-weight: bold; font-size: 26px;
    color: #FFFFFF; box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.3), 2px 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: var(--orbitron-spacing);
    flex-shrink: 0;
}

.brand-container { display: flex; flex-direction: column; line-height: 1; margin-left: 5px; }
.brand-top-row { display: flex; align-items: center; gap: 8px; }
.fs-name { font-family: 'Orbitron', sans-serif !important; font-size: 24px; font-weight: bold; letter-spacing: var(--orbitron-spacing); }
.meta-group { display: flex; align-items: center; margin-top: 3px; gap: 8px; }
.apex-tag { background: var(--neon-cian); color: var(--azul-marino); padding: 1px 6px; font-size: 11px; font-weight: bold; border-radius: 2px; }
.version-tag { font-size: 10px; color: #5a6673; }
.beta-tag { background: #ff9800; color: #ffffff; font-size: 10px; padding: 3px 8px; border-radius: 4px; font-weight: bold; font-family: 'Orbitron'; letter-spacing: 1px; box-shadow: 0 0 10px rgba(255, 152, 0, 0.4); }

.user-info { margin-left: auto; font-size: 13px; font-weight: bold; letter-spacing: 0.5px; flex-shrink: 0; display: flex; align-items: center; gap: 15px; }

/* [BOTONES TÁCTICOS DE CABECERA] */
.header-btn {
    width: 38px; height: 38px; background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s; position: relative;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.05), 0 4px 10px rgba(0,0,0,0.4);
    border-bottom-color: rgba(255,255,255,0.02);
}
.header-btn .tool-icon { 
    width: 20px; height: 20px; background-color: #5a6673; 
    transition: 0.3s;
}
.header-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--neon-cian); scale: 1.1; box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); }
.header-btn:hover .tool-icon { background-color: var(--neon-cian); }

.logout-btn:hover { border-color: var(--error-rojo) !important; box-shadow: 0 0 15px rgba(255, 77, 77, 0.3); }
.logout-btn:hover .tool-icon { background-color: var(--error-rojo) !important; }

.header-btn::after {
    content: attr(data-label); position: absolute; top: calc(100% + 10px); right: 0;
    background: #0b1014; color: #fff; font-size: 8px; padding: 4px 10px;
    border: 1px solid var(--border-ui); border-radius: 3px; white-space: nowrap;
    visibility: hidden; opacity: 0; transition: 0.3s; pointer-events: none; 
    font-family: 'Orbitron'; letter-spacing: 1px;
}
.header-btn:hover::after { visibility: visible; opacity: 1; }

/* [SELECTOR DE IDIOMA] */
.lang-selector-header { position: relative; display: flex; align-items: center; }
.lang-trigger { cursor: pointer; width: 32px; height: 18px; border: 1px solid var(--border-ui); border-radius: 2px; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.lang-trigger:hover { border-color: var(--neon-cian); box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
.lang-dropdown { position: absolute; top: calc(100% + 15px); right: 0; width: 140px; background: #0e1217; border: 2px solid var(--neon-cian); border-radius: 6px; display: none; z-index: 100000; box-shadow: 0 15px 40px rgba(0,0,0,0.9); }
.lang-item { padding: 8px 12px; display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: bold; color: #FFF; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.05); }

.user-label, span.user-label, header .user-label { color: var(--amarillo-oscuro) !important; }
.user-name, #user_display { color: #ffffff !important; }
.conn-lbl, div.connection-id-center span.conn-lbl { color: var(--amarillo-oscuro) !important; }

.master-switch { cursor: pointer; color: var(--amarillo-oscuro); font-size: 20px; border: 2px solid var(--neon-cian); border-radius: 8px; padding: 6px 12px; background: rgba(0, 255, 255, 0.05); animation: light-pulsing 2.5s infinite; transition: 0.3s; }

/* [ID DE CONEXIÓN] */
.connection-id-center { 
    position: absolute; left: 50%; transform: translateX(-50%); 
    padding: 6px 25px; border-radius: 4px; font-family: 'Orbitron'; 
    font-size: 18px; z-index: 1000; color: #FFFFFF; font-weight: bold; 
    border: 1px solid var(--amarillo-oscuro); background: rgba(0,0,0,0.7);
    box-shadow: 0 0 20px rgba(0,0,0,0.5), inset 0 0 10px rgba(184, 134, 11, 0.01);
}
.connection-id-center .conn-val { color: #FFFFFF !important; font-size: 18px; }
@media (max-width: 950px) { .connection-id-center { font-size: 18px; padding: 5px 20px; } }

/* [LAYOUT & WORKSPACE] */
.main-layout { display: flex; flex: 1; position: relative; overflow: hidden; z-index: 200; width: 100%; }
.workspace { 
    flex: 1; display: flex; align-items: center; justify-content: center; 
    padding: 0 !important; z-index: 10; overflow: hidden; position: relative;
    height: 100%;
}
@media (max-width: 768px) {
    .workspace { align-items: flex-start; padding-top: 30px; padding-bottom: 160px; height: 100%; }
}

/* [BOTÓN DE AYUDA 3D v69.8 APEX] */
.help-btn-3d {
    position: absolute; top: 15px; right: 15px;
    width: 26px; height: 26px;
    background: var(--amarillo-oscuro);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 100;
    box-shadow: 2px 2px 0 #856108, 4px 4px 10px rgba(0,0,0,0.5);
    transition: 0.2s;
}
.help-btn-3d:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #856108, 5px 5px 15px rgba(0,0,0,0.6); }
.help-btn-3d:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 #856108; }
.help-btn-3d .help-ico-char { color: #000; font-weight: bold; font-size: 16px; font-family: 'Orbitron'; }

/* [MANUAL DE AYUDA TÁCTICO v69.8 APEX] */
.help-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.85);
    display: none; align-items: center; justify-content: center;
    z-index: 2000000; backdrop-filter: blur(10px);
}
.help-modal-box {
    background: #0a0a0a; border: 2px solid var(--amarillo-oscuro);
    border-radius: 12px; width: 90%; max-width: 450px; padding: 30px;
    text-align: left; box-shadow: 0 0 50px rgba(184, 134, 11, 0.3);
    animation: modalIn 0.3s ease-out;
}
.help-modal-title { font-family: 'Orbitron'; color: var(--amarillo-oscuro); font-size: 16px; margin-bottom: 15px; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.help-modal-body { color: #c0c0c0; font-size: 13px; line-height: 1.6; margin-bottom: 25px; }

/* [MENÚ LATERAL ESCONDIDO v69.8 APEX] */
.side-menu-container {
    position: fixed; left: -75px; top: 78px; bottom: 35px;
    width: 72px; background: rgba(11, 16, 22, 0.98);
    border-right: 2px solid var(--neon-cian);
    display: flex; flex-direction: column; align-items: center; padding-top: 40px;
    gap: 15px; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000; backdrop-filter: blur(15px);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}
.side-menu-container.expanded { left: 0; }

.menu-trigger-zone {
    position: fixed; left: 0; top: 78px; bottom: 35px;
    width: 15px; z-index: 9999; cursor: pointer;
}

.menu-tab {
    position: fixed; left: 0; top: 50%; transform: translateY(-50%);
    width: 24px; height: 60px;
    background: var(--neon-cian);
    border-radius: 0 8px 8px 0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 9998;
    transition: 0.3s;
    box-shadow: 4px 0 15px rgba(0, 255, 255, 0.3);
}
.menu-tab::after {
    content: '❯'; color: #000; font-weight: bold; font-family: 'Orbitron'; font-size: 14px;
}
.side-menu-container.expanded + .menu-tab { opacity: 0; pointer-events: none; }

/* [ADAPTABILIDAD MOBILE v69.8 APEX] */
@media (max-width: 768px) {
    .side-menu-container {
        left: -100%; width: 100%; height: 100%;
        padding-top: 80px; align-items: center; justify-content: flex-start;
        display: none; /* Se activará como flex vía JS */
    }
    .side-menu-container.expanded { 
        left: 0; display: flex !important;
        background: rgba(6, 9, 15, 0.98);
    }
    .menu-trigger-zone { display: none; }
    .menu-tab { width: 32px; height: 40px; border-radius: 0 4px 4px 0; top: 80px; }
}

/* [ESTADOS HEREDADOS DE MAGBAR MÁXIMA COMPATIBILIDAD] */
.btn-tool { width: 46px; height: 46px; background: rgba(26, 35, 46, 0.9); border: 1px solid #2d3846; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: 0.2s; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.btn-tool:hover { border-color: var(--neon-cian); transform: scale(1.05); background: #232c38; z-index: 100; box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); }
.btn-tool .tool-icon { 
    width: 24px; height: 24px; background-color: var(--amarillo-oscuro); 
    mask-repeat: no-repeat; mask-position: center; mask-size: contain;
    -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain;
}
.btn-tool:hover .tool-icon { background-color: var(--neon-cian); } 


.btn-tool::after {
    content: attr(data-tip); position: absolute; background: rgba(0, 33, 71, 0.95);
    color: var(--amarillo-oscuro); padding: 8px 12px; font-size: 11px; border-radius: 6px;
    border: 1px solid var(--neon-cian); white-space: nowrap; visibility: hidden;
    opacity: 0; transition: 0.2s; z-index: 1000000; pointer-events: none;
}
.btn-tool:hover::after { visibility: visible; opacity: 1; }
.tip-right .btn-tool::after { left: calc(100% + 15px); top: 50%; transform: translateY(-50%); }
.tip-left .btn-tool::after { right: calc(100% + 15px); top: 50%; transform: translateY(-50%); }
.tip-bottom .btn-tool::after { top: calc(100% + 15px); left: 50%; transform: translateX(-50%); }
.tip-top .btn-tool::after { bottom: calc(100% + 15px); left: 50%; transform: translateX(-50%); }

/* [FOOTER RESPONSIVO] */
footer {
    padding: 8px 40px; height: 35px;
    background: linear-gradient(180deg, rgba(13, 18, 24, 0.98) 0%, rgba(5, 8, 12, 1) 100%);
    border-top: 1px solid var(--border-ui); display: flex; justify-content: space-between;
    align-items: center; font-size: 11px; color: #8a96a3; flex-shrink: 0;
    z-index: 1000; box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}
@media (max-width: 600px) {
    footer { padding: 10px 15px; font-size: 9px; height: auto !important; flex-direction: column; gap: 5px; text-align: center; }
}

/* [SISTEMA DE NOTIFICACIONES PROPIETARIO APEX v17.0] */
.apex-notify-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.85);
    display: none; align-items: center; justify-content: center;
    z-index: 2000000; backdrop-filter: blur(12px); animation: fadeIn 0.3s forwards;
}
html.apex-intro-active .apex-notify-overlay { display: flex !important; }
.apex-notify-box {
    background: #0a0a0a; border: 2px solid var(--amarillo-oscuro);
    border-radius: 12px; width: 90%; max-width: 500px; padding: 40px;
    text-align: center; box-shadow: 0 0 80px rgba(184, 134, 11, 0.4);
    transform: scale(0.9); animation: modalIn 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}
.apex-notify-title { font-family: 'Orbitron', sans-serif; color: var(--amarillo-oscuro); font-size: 20px; margin-bottom: 20px; letter-spacing: 3px; text-transform: uppercase; }
.apex-notify-msg { color: #8a96a3; font-size: 15px; line-height: 1.8; margin-bottom: 30px; }
.btn-notify { 
    background: var(--amarillo-oscuro); border: none; padding: 12px 35px; 
    border-radius: 6px; font-family: 'Orbitron', sans-serif; font-weight: bold; 
    cursor: pointer; letter-spacing: 2px; transition: 0.3s;
}
.btn-notify:hover { background: #fff; transform: scale(1.05); }
.btn-register { grid-column: 1 / span 3; justify-self: center; width: 280px; margin: 25px auto; display: block; background: var(--amarillo-oscuro); color: #FFF; border: none; padding: 16px; border-radius: 8px; font-weight: bold; font-size: 15px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.5); text-transform: uppercase; font-family: 'Orbitron', sans-serif !important; letter-spacing: 2px; transition: 0.3s; }
.btn-register:hover { background: #d4a017; transform: translateY(-2px); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(0, 255, 255, 0.2); border-top: 2px solid var(--neon-cian); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes light-pulsing { 0%, 100% { opacity: 1; box-shadow: 0 0 15px var(--neon-cian); } 50% { opacity: 0.5; box-shadow: 0 0 5px var(--neon-cian); } }

/* [NIVEL 1 & 2: HOMOLOGACIÓN FORENSE v61.4] */
#security_overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    pointer-events: none; z-index: 9999999; overflow: hidden; opacity: 1; 
}
.forensic-grid { 
    position: absolute; inset: -50%; width: 200%; height: 200%;
    background-image: 
        repeating-linear-gradient(45deg, rgba(0, 255, 255, 0.05) 0px, rgba(0, 255, 255, 0.05) 1px, transparent 1px, transparent 120px),
        repeating-linear-gradient(-45deg, rgba(184, 134, 11, 0.05) 0px, rgba(184, 134, 11, 0.05) 1px, transparent 1px, transparent 120px);
    animation: forensic-float 120s linear infinite; pointer-events: none; z-index: 1; opacity: 1;
}
.node-stamp { 
    position: fixed; top: 120px; right: 20px; font-family: 'Courier New', monospace; 
    font-size: 10px; color: rgba(255,255,255,0.2); transform: rotate(-90deg); 
    transform-origin: bottom right; pointer-events: none; z-index: 1000; 
    letter-spacing: 2px;
}
@keyframes forensic-float { from { transform: translate(0,0); } to { transform: translate(50px, 50px); } }

/* [NIVEL 3: ESCUDO ACTIVE_BUNKER] */
.dynamic-shield { display: flex; align-items: center; gap: 12px; padding-right: 20px; border-right: 1px solid rgba(255,255,255,0.1); margin-right: 20px; }
.shield-box { 
    width: 22px; height: 22px; background: var(--amarillo-oscuro); color: #000; 
    font-family: 'Orbitron'; font-weight: bold; font-size: 12px; 
    display: flex; align-items: center; justify-content: center; border-radius: 3px; 
    position: relative; overflow: hidden; box-shadow: 0 0 12px rgba(184, 134, 11, 0.5); 
}
.shield-scan { 
    position: absolute; top: -100%; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.8), transparent); 
    animation: shield-pulse 2.5s ease-in-out infinite; 
}
.shield-text { font-family: 'Orbitron'; font-size: 11px; color: var(--amarillo-oscuro); letter-spacing: 2px; font-weight: bold; text-transform: uppercase; }
@keyframes shield-pulse { 0% { top: -100%; } 100% { top: 100%; } }

/* [VISUALIZADOR DE CLAVES v61.9.64 - INTEGRACIÓN v40] */
.pass-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
}
.pass-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--amarillo-oscuro);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 15;
    opacity: 0.6;
}
.pass-toggle:hover {
    color: var(--neon-cian);
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}
.pass-toggle.visible {
    color: var(--neon-cian);
    opacity: 1;
}
.pass-toggle svg {
    width: 20px !important;
    height: 20px !important;
    pointer-events: none;
}
input[type="password"] {
    padding-right: 45px !important;
}

/* [HOMOLOGACIÓN DE ENLACES TÁCTICOS v69.8 APEX] */
.tactical-link-group {
    text-align: center;
    margin-top: 15px;
    font-size: 11.5px;
    color: #8a96a3;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 0.5px;
}

.tactical-link {
    color: var(--amarillo-oscuro);
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: 0.2s;
}

.tactical-link:hover {
    color: #FFFFFF;
    text-shadow: 0 0 8px var(--amarillo-oscuro);
}

/* [SISTEMA DE LAYOUT TÁCTICO v21.17] */
.marketplace-container { display: none; flex-direction: column; overflow-y: auto; background: rgba(6, 9, 15, 0.95); border-left: 1px solid var(--border-ui); transition: 0.4s; }

.view-pizarra #marketplace_board { display: flex; flex: 1; }
.view-pizarra .remote-monitor { display: none; }

.view-columna { display: flex; width: 100%; }
.view-columna .remote-monitor { flex: 2; }
.view-columna #marketplace_board { display: flex; flex: 1; border-left: 2px solid var(--neon-cian); }

.layout-selector { 
    position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); 
    display: flex; gap: 10px; z-index: 500; 
}
.btn-layout {
    background: rgba(0,0,0,0.7); border: 1px solid var(--amarillo-oscuro);
    color: var(--amarillo-oscuro); font-family: 'Orbitron'; font-size: 10px;
    padding: 8px 15px; border-radius: 4px; cursor: pointer; transition: 0.3s;
}
.btn-layout:hover { background: var(--amarillo-oscuro); color: #000; }

/* [CONSOLIDACIÓN v69.8 APEX: PREMIUM UI] */
button, .btn-nav, .btn-action, .btn-connect, .btn-apex-tactical, .btn-grid-action, .btn-layout, .btn-alert, .btn-status-toggle {
    font-family: 'Orbitron' !important;
    letter-spacing: 1.2px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase !important;
}

button:hover, .btn-nav:hover, .btn-action:hover, .btn-connect:hover {
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
    transform: translateY(-1px);
    background: #FFF !important;
    color: #000 !important;
}

/* [ESTILIZACIÓN SELECTOR DE ASISTENCIA] */
.tech-asistencia-lbl {
    color: #00FFFF !important; /* Azul Neon */
    font-family: 'Orbitron' !important;
    font-weight: bold !important;
    font-size: 14px !important;
    letter-spacing: 1px;
}

select option {
    background: #333 !important; /* Gris Oscuro */
    color: #FFF !important;
    font-family: 'Orbitron' !important;
    font-weight: normal !important;
    padding: 10px;
}

/* [FOOTER INSTITUCIONAL - ZONAS DE SOBERANÍA] */
.institutional-footer {
    position: fixed; bottom: 0; left: 0; right: 0; height: 50px;
    background: linear-gradient(180deg, #0a1118 0%, #05080b 100%);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 30px; z-index: 2000; box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
}

.footer-zone-left, .footer-zone-center, .footer-zone-right {
    display: flex; align-items: center;
}

.footer-separator { width: 1px; height: 16px; background: rgba(255,255,255,0.1); margin: 0 20px; }
.footer-info { font-family: 'Orbitron'; font-size: 9px; color: #5a6673; letter-spacing: 0.5px; }
.footer-copy { font-family: 'Orbitron'; font-size: 10px; color: #3e4852; }

.telemetry-item { display: flex; align-items: center; gap: 8px; margin: 0 20px; }
.tel-lbl { font-family: 'Orbitron'; font-size: 10px; color: #5a6673; }
.tel-val { font-family: 'Orbitron'; font-size: 11px; font-weight: bold; }
.tel-val.green { color: #00FF44; text-shadow: 0 0 10px rgba(0,255,68,0.3); }
.tel-val.cyan { color: #00FFFF; text-shadow: 0 0 10px rgba(0,255,255,0.3); }

.dynamic-shield { display: flex; align-items: center; gap: 10px; }
.shield-box { 
    width: 24px; height: 24px; background: #004a91; color: #FFF; 
    font-family: 'Orbitron'; font-weight: bold; border-radius: 4px;
    display: flex; align-items: center; justify-content: center; font-size: 11px;
    position: relative; overflow: hidden; border: 1px solid #00FFFF;
}
.shield-scan { position: absolute; top: 0; left: -100%; width: 200%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0,255,255,0.4), transparent); animation: shieldScan 2.5s infinite; }
@keyframes shieldScan { 0% { left: -100%; } 100% { left: 100%; } }
.shield-text { font-family: 'Orbitron'; font-size: 10px; font-weight: bold; color: #00FFFF; letter-spacing: 1px; }

/* [ACOMPAÑAMIENTO DE GRIDS] */
.grid-row, .tech-row {
    background: rgba(15, 20, 25, 0.4) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.grid-row:hover, .tech-row:hover {
    background: rgba(0, 255, 255, 0.03) !important;
}

/* [ERGONOMÍA DE FORMULARIOS - PREVENCIÓN DE DESBORDAMIENTO] */
.support-box {
    padding: 20px 30px !important;
    max-width: 600px;
    margin: 0 auto !important;
    background: rgba(10, 15, 20, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
}

.form-group {
    margin-bottom: 15px !important;
}

.form-label {
    display: block;
    font-family: 'Orbitron';
    font-size: 11px;
    color: var(--amarillo-oscuro);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.form-textarea {
    width: 100%;
    height: 80px !important; /* Altura compacta */
    min-height: 80px;
    max-height: 120px;
    background: rgba(0,0,0,0.5);
    border: 1px solid #333;
    border-radius: 4px;
    color: #FFF;
    padding: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    resize: vertical;
}

.form-select {
    width: 100%;
    background: #111;
    border: 1px solid #444;
    color: #FFF;
    padding: 10px;
    font-family: 'Orbitron';
    font-size: 13px;
    border-radius: 4px;
}

.btn-request {
    width: 100%;
    padding: 15px !important;
    background: var(--amarillo-oscuro) !important;
    color: #000 !important;
    font-weight: bold !important;
    margin-top: 10px;
}
/* [EFECTOS TÁCTICOS v69.8] */
@keyframes blink-slow {
    0%, 100% { opacity: 1; transform: scale(1); filter: brightness(1); }
    50% { opacity: 0.7; transform: scale(0.97); filter: brightness(1.2); }
}
.btn-blink-slow {
    animation: blink-slow 1.5s infinite ease-in-out !important;
    background: var(--exito-verde) !important;
    color: #000 !important;
    box-shadow: 0 0 15px var(--exito-verde) !important;
}
