@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&display=swap');

.seance-counter-widget {
    font-family: 'Instrument Sans', sans-serif;
    margin: 20px 0;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.seance-counter-display {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.counter-icon {
    display: none;
}

.counter-label {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

.counter-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
}

.counter-value.counter-update {
    font-weight: 600;
}

.counter-times {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

.seance-done-button {
    background: transparent;
    color: #333;
    border: 1px solid #333;
    border-radius: 0;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Instrument Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
}

.seance-done-button:hover {
    background: #333;
    color: #fff;
}

.seance-done-button:active {
    transform: scale(0.98);
}

.seance-done-button.loading {
    opacity: 0.6;
    cursor: wait;
}

.seance-done-button.success {
    background: #333;
    color: #fff;
}

.button-icon {
    display: none;
}

.button-text {
    font-size: 14px;
}

.seance-feedback {
    display: none !important;
}

/* Confetti Container */
.confetti-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: 100;
}

/* Confetti Particle */
.confetti-particle {
    position: absolute;
    width: 3px;
    height: 8px;
    background: #333;
    opacity: 0;
    pointer-events: none;
}

/* Animation sobres */
@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
    }
}

.confetti-particle.animate {
    animation: confetti-fall 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Version mobile responsive */
@media (max-width: 600px) {
    .seance-counter-widget {
        flex-wrap: wrap;
        gap: 12px;
    }
}
