/* =========================================
   Thank You Widget – Premium Styles
   ========================================= */

.lg-thank-you-wrapper {
    transition: all 0.3s ease;
}

/* Icon entrance animation */
@keyframes lg-jump-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.lg-animate-jump-in {
    animation: lg-jump-in 0.5s ease-out forwards;
}

/* =========================================
   Field item labels + values
   ========================================= */
.lg-thankyou-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.15rem;
    display: block;
    font-weight: 600;
}

.lg-thankyou-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    word-break: break-word;
    line-height: 1.5;
}

/* Staggered entry animation for each item */
.lg-thankyou-item {
    animation: lg-fade-slide-up 0.4s ease-out both;
}

.lg-thankyou-item:nth-child(1) {
    animation-delay: 0.05s;
}

.lg-thankyou-item:nth-child(2) {
    animation-delay: 0.1s;
}

.lg-thankyou-item:nth-child(3) {
    animation-delay: 0.15s;
}

.lg-thankyou-item:nth-child(4) {
    animation-delay: 0.2s;
}

.lg-thankyou-item:nth-child(5) {
    animation-delay: 0.25s;
}

.lg-thankyou-item:nth-child(6) {
    animation-delay: 0.3s;
}

.lg-thankyou-item:nth-child(7) {
    animation-delay: 0.35s;
}

.lg-thankyou-item:nth-child(8) {
    animation-delay: 0.4s;
}

.lg-thankyou-item:nth-child(9) {
    animation-delay: 0.45s;
}

.lg-thankyou-item:nth-child(10) {
    animation-delay: 0.5s;
}

@keyframes lg-fade-slide-up {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Countdown bar
   ========================================= */
.lg-countdown-bar {
    border-radius: 9999px;
    overflow: hidden;
}

.lg-countdown-bar-fill {
    border-radius: 9999px;
}

/* =========================================
   Responsive tweaks
   ========================================= */
@media (max-width: 640px) {
    .lg-thank-you-wrapper {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .lg-thankyou-value {
        font-size: 0.95rem;
    }
}