.titulo {
    text-align: center;
    margin-bottom: 40px;
}

.titulo p {
    margin-top: 4px;
    color: #dddcdc;
}

.titulo h1 {
    margin-bottom: 4px;
}

/* Caja x defecto */
.caja {
    background: #ffffff0d;
    border: 1px solid #ffffff1a;
    backdrop-filter: blur(12px);
    border-radius: 10px;
    box-shadow: 0 10px 30px #0000004d;
}

/* Banner de Estado Principal */
.fondo-estado {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* Luces de Estado */
.indicador {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.indicador::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Colores de estado */
.online {
    background-color: #33cc33;
    box-shadow: 0 0 15px #33cc33;
}

.online::after {
    background-color: #33cc33;
}

.offline {
    background-color: #ff4d4d;
    box-shadow: 0 0 15px #ff4d4d;
}

.offline::after {
    background-color: #ff4d4d;
}

/* Grid de Métricas */
.metricas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.metrica-card {
    padding: 25px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.metrica-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.1em;
    color: #dddcdc;
    font-weight: 500;
}

.metrica-valor {
    font-size: 2em;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}


.text-success {
    color: #33cc33;
}

.text-danger {
    color: #ff4d4d;
}