/* Pretpot Animated Like Button Counter Widget Styles */

.pretpot-animated-like-button-counter {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    overflow: visible;
}

.pretpot-animated-like-button-counter:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pretpot-animated-like-button-counter:active {
    transform: translateY(0) scale(0.98);
}

.pretpot-animated-like-button-counter.liked {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Icon Section */
.pretpot-albc-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    transition: transform 0.2s ease;
    font-size: 24px !important;
    color: #fff !important;
}

.pretpot-albc-icon svg,
.pretpot-albc-icon i {
    width: 100% !important;
    height: 100% !important;
    fill: currentColor !important;
    color: inherit !important;
    font-size: inherit !important;
}

.pretpot-animated-like-button-counter:active .pretpot-albc-icon {
    transform: scale(0.9);
}

.pretpot-animated-like-button-counter.liked .pretpot-albc-icon {
    color: #ff4757 !important;
}

/* Text Section */
.pretpot-albc-text {
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    margin-right: 16px;
    transition: all 0.3s ease;
}

.pretpot-animated-like-button-counter.liked .pretpot-albc-text {
    color: #ff4757 !important;
}

/* Divider */
.pretpot-albc-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 16px;
    transition: background 0.3s ease;
}

.pretpot-animated-like-button-counter.liked .pretpot-albc-divider {
    background: rgba(255, 71, 87, 0.3);
}

/* Counter */
.pretpot-albc-counter {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 16px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.pretpot-animated-like-button-counter.liked .pretpot-albc-counter {
    color: #ff4757 !important;
}

/* Particle Container */
.pretpot-albc-particles {
    position: absolute;
    top: 50%;
    left: 24px;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 100;
}

/* Individual Particle */
.pretpot-albc-particle {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    opacity: 0;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pretpot-albc-particle svg,
.pretpot-albc-particle i {
    width: 100% !important;
    height: 100% !important;
    fill: currentColor !important;
}

/* Particle Animation */
@keyframes pretpot-albc-particle-float {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    20% {
        transform: translate(-50%, -50%) scale(1.2) rotate(var(--rotation));
        opacity: 0.6;
    }
    100% {
        transform: translate(
            calc(-50% + var(--tx)), 
            calc(-50% + var(--ty))
        ) scale(0.3) rotate(calc(var(--rotation) * 2));
        opacity: 0;
    }
}

.pretpot-albc-particle.animate {
    animation: pretpot-albc-particle-float 1.2s ease-out forwards;
}

/* Liked State Colors */
.pretpot-animated-like-button-counter.liked .pretpot-albc-icon {
    color: #ff4757 !important;
}

.pretpot-animated-like-button-counter.liked .pretpot-albc-icon svg,
.pretpot-animated-like-button-counter.liked .pretpot-albc-icon i {
    fill: #ff4757 !important;
    color: #ff4757 !important;
}

/* Compact Size Variant */
.pretpot-animated-like-button-counter.compact {
    padding: 8px 14px;
    border-radius: 12px;
}

.pretpot-animated-like-button-counter.compact .pretpot-albc-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    font-size: 18px !important;
}

.pretpot-animated-like-button-counter.compact .pretpot-albc-text {
    font-size: 14px;
    margin-right: 10px;
}

.pretpot-animated-like-button-counter.compact .pretpot-albc-divider {
    height: 18px;
    margin-right: 10px;
}

.pretpot-animated-like-button-counter.compact .pretpot-albc-counter {
    font-size: 14px;
    min-width: 24px;
}

/* No Text Variant */
.pretpot-animated-like-button-counter.no-text .pretpot-albc-text {
    display: none;
}

.pretpot-animated-like-button-counter.no-text .pretpot-albc-divider {
    margin-left: 8px;
}

/* Alignment Variants */
.pretpot-animated-like-button-counter.align-left {
    margin-right: auto;
}

.pretpot-animated-like-button-counter.align-center {
    margin-left: auto;
    margin-right: auto;
}

.pretpot-animated-like-button-counter.align-right {
    margin-left: auto;
}

/* Responsive Scaling */
@media (max-width: 1024px) {
    .pretpot-animated-like-button-counter.tablet-scale-90 {
        transform: scale(0.9);
    }
    .pretpot-animated-like-button-counter.tablet-scale-80 {
        transform: scale(0.8);
    }
    .pretpot-animated-like-button-counter.tablet-scale-70 {
        transform: scale(0.7);
    }
    .pretpot-animated-like-button-counter.tablet-scale-60 {
        transform: scale(0.6);
    }
    .pretpot-animated-like-button-counter.tablet-scale-50 {
        transform: scale(0.5);
    }
}

@media (max-width: 767px) {
    .pretpot-animated-like-button-counter.mobile-scale-90 {
        transform: scale(0.9);
    }
    .pretpot-animated-like-button-counter.mobile-scale-80 {
        transform: scale(0.8);
    }
    .pretpot-animated-like-button-counter.mobile-scale-70 {
        transform: scale(0.7);
    }
    .pretpot-animated-like-button-counter.mobile-scale-60 {
        transform: scale(0.6);
    }
    .pretpot-animated-like-button-counter.mobile-scale-50 {
        transform: scale(0.5);
    }
}

/* Counter Animation */
.pretpot-albc-counter.animating {
    transform: scale(1.3);
    opacity: 0.5;
}