/**
 * Licznik odwiedzin - Style Frontendowe
 * Autor: Grzegorz Baran (https://itkielce.pl)
 */

.lo-counter-wrapper {
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    margin: 10px 0;
}

.lo-counter-wrapper * {
    box-sizing: border-box;
}

/* Pulsująca zielona dioda dla Online */
.lo-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 6px;
    position: relative;
    vertical-align: middle;
}

.lo-status-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: lo-pulse 2s infinite ease-in-out;
    opacity: 0.8;
}

@keyframes lo-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

/* Ikony SVG */
.lo-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.8;
}

/* Wartość liczbowa */
.lo-item-value {
    font-weight: 700;
    margin-left: 4px;
    color: inherit;
}

.lo-item-label {
    display: inline-flex;
    align-items: center;
    opacity: 0.88;
}

/* ===================================================
   STYL 1: PILLS (Karty / Pigułki - styl nowoczesny)
   =================================================== */
.lo-style-pills .lo-items-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.lo-style-pills .lo-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(125, 125, 125, 0.08);
    border: 1px solid rgba(125, 125, 125, 0.15);
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.lo-style-pills .lo-item:hover {
    background: rgba(125, 125, 125, 0.14);
    transform: translateY(-1px);
}

/* ===================================================
   STYL 2: INLINE (Pasek poziomy - idealny do stopki)
   =================================================== */
.lo-style-inline .lo-items-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.lo-style-inline .lo-item {
    display: inline-flex;
    align-items: center;
    position: relative;
    font-size: 13px;
}

.lo-style-inline .lo-item:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -10px;
    opacity: 0.4;
}

/* ===================================================
   STYL 3: MINIMAL (Lista wertykalna - idealna do sidebar)
   =================================================== */
.lo-style-minimal .lo-items-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lo-style-minimal .lo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(125, 125, 125, 0.2);
}

.lo-style-minimal .lo-item:last-child {
    border-bottom: none;
}
