/* Price Loading Popup Styles */

.price-loading-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.price-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.price-loading-content {
    position: relative;
    background: var(--bg-color, #ffffff);
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.4s ease-out;
}

[data-theme="dark"] .price-loading-content {
    background: var(--bg-secondary, #2d3238);
}

.lottie-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color, #212529);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
    animation: textFade 0.5s ease-in-out;
}

[data-theme="dark"] .loading-text {
    color: var(--text-color, #f0f2f5);
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .progress-bar-container {
    background-color: rgba(255, 255, 255, 0.1);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: 10px;
    transition: width 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

/* Animated shine effect */
.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes textFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .price-loading-content {
        padding: 2rem 1.5rem;
    }
    
    .lottie-container {
        width: 150px;
        height: 150px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
}
