/* Estilos para el Widget de Contador de Vistas */
.views-counter-widget h3 {
    color: #1e3c72;
}

.views-counter-widget h3 i {
    margin-right: 8px;
}

/* Contenedor principal con alineación vertical */
.counter-container {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.counter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}

/* Ícono del contador */
.counter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 15px;
    animation: pulse 2s infinite;
}

.counter-icon i {
    font-size: 24px;
    color: white;
}

/* Contenedor de estadísticas - centrado verticalmente */
.counter-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    height: 100%;
}

/* Fila del contador */
.counter-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.2;
}

/* Número del contador */
.counter-number {
    font-size: 36px;
    font-weight: 700;
    color: #1e3c72;
    line-height: 1;
    margin: 0;
}

/* Texto del contador */
.counter-text {
    color: #666;
    font-size: 16px;
    line-height: 1;
    margin: 0;
}

/* Contador de hoy */
.counter-today {
    font-size: 12px;
    color: #2a5298;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
}

/* Animación para el contador */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 82, 152, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 82, 152, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 82, 152, 0);
    }
}

.count-animation {
    display: inline-block;
}