/* Counter WP - Frontend Stilleri */

.counter-wp-container {
    display: inline-block;
    margin: 10px 0;
}

/* Layout test - daha temiz görünüm */
.counter-wp-item.layout-vertical {
    min-height: 80px !important;
    padding: 15px !important;
}

.counter-wp-item.layout-vertical-reverse {
    min-height: 80px !important;
    padding: 15px !important;
}

.counter-wp-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    line-height: 1.2;
    transition: all 0.3s ease;
}

/* Layout Yönleri */
.counter-wp-item.layout-horizontal {
    flex-direction: row !important;
    align-items: center !important;
}

.counter-wp-item.layout-vertical {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
}

.counter-wp-item.layout-vertical-reverse {
    flex-direction: column-reverse !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
}

/* Hizalama Seçenekleri */
.counter-wp-item.align-left {
    justify-content: flex-start !important;
    text-align: left !important;
}

.counter-wp-item.align-center {
    justify-content: center !important;
    text-align: center !important;
}

.counter-wp-item.align-right {
    justify-content: flex-end !important;
    text-align: right !important;
}

.counter-wp-item.align-space-between {
    justify-content: space-between !important;
}

.counter-wp-item.align-space-around {
    justify-content: space-around !important;
}

/* Dikey layout'larda özel ayarlar */
.counter-wp-item.layout-vertical i,
.counter-wp-item.layout-vertical-reverse i {
    margin-right: 0 !important;
    margin-bottom: 8px !important;
    font-size: 1.5em !important;
    display: block !important;
}

.counter-wp-item.layout-vertical-reverse i {
    margin-bottom: 0 !important;
    margin-top: 8px !important;
}

/* Dikey layout'ta sayı grubu */
.counter-wp-item.layout-vertical .counter-number-group,
.counter-wp-item.layout-vertical-reverse .counter-number-group {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 3px !important;
    font-size: 1.3em !important;
}

.counter-wp-item.layout-vertical .counter-number-group .counter-wp-number,
.counter-wp-item.layout-vertical-reverse .counter-number-group .counter-wp-number {
    font-size: 1.4em !important;
    font-weight: bold !important;
}

.counter-wp-item.layout-vertical .counter-number-group .counter-wp-prefix,
.counter-wp-item.layout-vertical .counter-number-group .counter-wp-suffix,
.counter-wp-item.layout-vertical-reverse .counter-number-group .counter-wp-prefix,
.counter-wp-item.layout-vertical-reverse .counter-number-group .counter-wp-suffix {
    font-size: 0.8em !important;
    font-weight: normal !important;
}

.counter-wp-item.layout-vertical .counter-wp-label,
.counter-wp-item.layout-vertical-reverse .counter-wp-label {
    display: block !important;
    margin: 8px 0 0 0 !important;
    font-size: 0.9em !important;
    font-weight: normal !important;
}

.counter-wp-item i {
    margin-right: 8px;
    font-size: 1.2em;
}

.counter-wp-prefix,
.counter-wp-suffix {
    font-weight: normal;
}

.counter-wp-number {
    font-weight: bold;
    font-size: 1.2em;
    position: relative;
}

.counter-wp-label {
    font-weight: normal;
    margin-left: 5px;
}

/* Sayı grubu - ön ek, sayı, son ek birlikte */
.counter-number-group {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.counter-number-group .counter-wp-prefix,
.counter-number-group .counter-wp-suffix {
    font-weight: normal;
    font-size: 0.9em;
}

.counter-number-group .counter-wp-number {
    font-weight: bold;
    font-size: 1.2em;
}

/* Animasyon efektleri */
.counter-wp-number.counting {
    animation: pulse 0.1s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .counter-wp-item {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

/* Özel temalar */
.counter-wp-theme-modern .counter-wp-item {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.counter-wp-theme-minimal .counter-wp-item {
    border-bottom: 2px solid currentColor;
    padding-bottom: 5px;
}

.counter-wp-theme-card .counter-wp-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid currentColor;
}
