/* ==========================================================================
   ESTILOS DTM CONTROL IT - PORTAL CORPORATIVO & MARKETING
   Paleta Oficial: Pampa Cyan (#00A3E0), Deep Navy (#0A3A82), Dark (#04132F)
   ========================================================================== */

:root {
    --brand-cyan: #00A3E0;
    --brand-cyan-dark: #008BC0;
    --brand-navy: #0A3A82;
    --brand-dark: #061D44;
    --brand-darker: #04132F;
    --brand-ice: #F3F8FC;
    --brand-sky: #E1F3FB;
}

/* Efecto de cuadrícula técnica en fondo */
.bg-tech-grid {
    background-image: radial-gradient(rgba(0, 163, 224, 0.15) 1px, transparent 1px);
    background-size: 28px 28px;
}

.bg-tech-grid-dense {
    background-image: linear-gradient(to right, rgba(0, 163, 224, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 163, 224, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Resplandores y Glassmorphism DTM */
.dtm-glow-cyan {
    box-shadow: 0 0 35px -5px rgba(0, 163, 224, 0.25);
}

.dtm-glow-navy {
    box-shadow: 0 0 40px -10px rgba(10, 58, 130, 0.4);
}

.dtm-glass-card {
    background: rgba(6, 29, 68, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 163, 224, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dtm-glass-card:hover {
    border-color: rgba(0, 163, 224, 0.45);
    box-shadow: 0 12px 35px -10px rgba(0, 163, 224, 0.2);
    transform: translateY(-2px);
}

/* Bordes con degradado técnico */
.dtm-gradient-border {
    position: relative;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.6), rgba(10, 58, 130, 0.5), rgba(255, 255, 255, 0.1));
    padding: 1px;
}

.dtm-gradient-border-inner {
    background: #04132F;
    border-radius: calc(1.25rem - 1px);
}

/* Pulso de actividad de red */
.status-beacon {
    position: relative;
}
.status-beacon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: inherit;
    animation: beaconPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

@keyframes beaconPulse {
    70%, 100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

/* Transiciones entre vistas del mini-simulador */
.sim-view {
    display: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sim-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbars estilizados */
.dtm-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.dtm-scroll::-webkit-scrollbar-track {
    background: #04132F;
}
.dtm-scroll::-webkit-scrollbar-thumb {
    background: #0A3A82;
    border-radius: 3px;
}
.dtm-scroll::-webkit-scrollbar-thumb:hover {
    background: #00A3E0;
}

/* Animaciones para badges y simulación */
@keyframes floatSlight {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.animate-float-slow {
    animation: floatSlight 5s infinite ease-in-out;
}
