/**
 * View Counter Styles
 * Modern, animated design for post view counter
 */

/* Container styles */
.vcount-container-pqr678 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    user-select: none;
}

/* Hover effect */
.vcount-container-pqr678:hover,
.vcount-container-pqr678.vcount-hover-ghi456 {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Icon styles */
.vcount-icon-ghi789 {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.vcount-container-pqr678:hover .vcount-icon-ghi789 {
    transform: scale(1.1);
}

/* Number styles */
.vcount-number-stu901 {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

/* Updating animation */
.vcount-number-stu901.vcount-updating-abc890 {
    animation: pulse-number 0.6s ease;
}

@keyframes pulse-number {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Label styles */
.vcount-label-jkl012 {
    font-weight: 400;
    opacity: 0.9;
    font-size: 15px;
}

/* Success indicator */
.vcount-success-def123 {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10b981;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: success-pop 0.5s ease forwards;
    pointer-events: none;
}

@keyframes success-pop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Animation for initial load */
.vcount-container-pqr678.vcount-animate-mno345 {
    animation: slide-in 0.5s ease forwards;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .vcount-container-pqr678 {
        padding: 10px 16px;
        font-size: 14px;
        gap: 6px;
    }
    
    .vcount-number-stu901 {
        font-size: 16px;
    }
    
    .vcount-icon-ghi789 {
        width: 18px;
        height: 18px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .vcount-container-pqr678 {
        background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }
    
    .vcount-container-pqr678:hover {
        box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .vcount-container-pqr678,
    .vcount-icon-ghi789,
    .vcount-number-stu901 {
        transition: none;
    }
    
    .vcount-container-pqr678.vcount-animate-mno345 {
        animation: none;
    }
    
    .vcount-success-def123 {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .vcount-container-pqr678 {
        background: #000000;
        border: 2px solid #ffffff;
        box-shadow: none;
    }
    
    .vcount-container-pqr678:hover {
        background: #ffffff;
        color: #000000;
    }
}

/* Print styles */
@media print {
    .vcount-container-pqr678 {
        background: none;
        color: #000000;
        box-shadow: none;
        border: 1px solid #000000;
    }
}