/* =====================================================================
   HOJA DE ESTILOS MÁSTER KEEP NEÓN V6 - SDTV DIGITAL
   VERSIÓN: 6.0.0 (COMPLETA - CONTROL RESPONSIVO MÓVIL Y MODALES)
   ===================================================================== */
:root {
    --bg-principal: #0d0e12;
    --bg-tarjeta: #181a23;
    --bg-oscuro-resaltado: #050608;
    --neon-azul: #00f0ff;
    --neon-rosa: #ff007f;
    --neon-verde: #25d366;
    --texto: #ffffff;
    --texto-oscuro: #94a3b8;
}
body { background-color: var(--bg-principal); color: var(--texto); font-family: 'Segoe UI', system-ui, sans-serif; margin: 0; padding: 0; overflow-x: hidden; }
.layout-panel { display: flex; width: 100%; min-height: 100vh; align-items: stretch; }
.sidebar { width: 250px; background-color: var(--bg-tarjeta); border-right: 1px solid rgba(255, 255, 255, 0.05); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; flex-shrink: 0; }
.sidebar-titulo { color: #fff; font-size: 20px; font-weight: bold; text-shadow: 0 0 10px var(--neon-rosa); margin-bottom: 30px; text-align: center; }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { margin-bottom: 12px; }
.sidebar-menu a { color: var(--texto-oscuro); text-decoration: none; display: block; padding: 12px; border-radius: 6px; font-size: 14px; font-weight: bold; border-left: 3px solid transparent; }
.sidebar-menu a:hover, .sidebar-menu a.activo { color: #fff; background-color: rgba(255, 0, 127, 0.05); border-left-color: var(--neon-rosa); }
.sidebar-menu a.salir { border-left-color: var(--neon-azul); }
.contenido-principal { flex-grow: 1; padding: 40px; overflow-y: auto; background-color: var(--bg-principal); }
.contenedor-formulario, .seccion-ajuste { background-color: var(--bg-tarjeta); border: 1px solid rgba(255, 255, 255, 0.05); padding: 25px; border-radius: 8px; margin-bottom: 30px; }
.grupo-formulario { margin-bottom: 20px; text-align: left; }
.grupo-formulario label { display: block; color: var(--texto-oscuro); margin-bottom: 8px; font-size: 14px; font-weight: 600; }
input[type="text"], input[type="password"], input[type="datetime-local"], select, textarea { width: 100%; padding: 12px; background-color: #0d0e12 !important; color: #ffffff !important; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; box-sizing: border-box; font-size: 14px; }
.btn-neon { padding: 12px 25px; background: transparent; border: 2px solid var(--neon-rosa); color: var(--neon-rosa); font-weight: bold; font-size: 14px; border-radius: 6px; cursor: pointer; text-transform: uppercase; transition: all 0.3s ease; display: inline-block; text-decoration: none; text-align: center; }
.btn-neon:hover { background-color: var(--neon-rosa); color: #fff; box-shadow: 0 0 15px var(--neon-rosa); }
.tabla-neon { width: 100%; border-collapse: collapse; background-color: var(--bg-tarjeta); border-radius: 8px; overflow: hidden; }
.tabla-neon th, .tabla-neon td { padding: 15px; text-align: left; }
.tabla-neon th { background-color: rgba(255, 0, 127, 0.1); color: var(--neon-rosa); font-weight: bold; }
.tabla-neon tr { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.grid-keep { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.tarjeta-keep { background: var(--bg-tarjeta); border: 1px solid rgba(255,255,255,0.05); padding: 20px; border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.2s ease; position: relative; }
.tarjeta-keep:hover { border-color: var(--neon-azul); box-shadow: 0 0 15px rgba(0,240,255,0.15); }
.menu-acciones-keep { display: flex; justify-content: space-between; margin-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; flex-wrap: wrap; gap: 5px; }
.btn-keep-tool { background: transparent; border: none; cursor: pointer; font-size: 12px; font-weight: bold; padding: 4px 8px; border-radius: 4px; transition: background 0.2s; }
.btn-keep-tool:hover { background: rgba(255,255,255,0.05); }
.modal-keep-alerta { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 999999; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-cuerpo-neon { background: var(--bg-tarjeta); border: 2px solid var(--neon-rosa); padding: 30px; border-radius: 12px; text-align: center; max-width: 400px; width: 90%; box-shadow: 0 0 25px var(--neon-rosa); animation: popupEntrada 0.3s ease-out; }
@keyframes popupEntrada { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* --- REGLAS EXCLUSIVAS DE ALTA COSTURA PARA CELULARES --- */
@media screen and (max-width: 768px) {
    .layout-panel { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding: 15px; }
    .contenido-principal { padding: 20px; }
    .grid-keep { grid-template-columns: 1fr; gap: 15px; }
    .sidebar-titulo { margin-bottom: 15px; }
}
