.radzen-loading-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 999999 !important;
    backdrop-filter: blur(3px) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: auto !important;
}

.radzen-loading-container {
    background-color: white !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    min-width: 320px !important;
    text-align: center !important;
    animation: fadeInScale 0.3s ease-out !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.radzen-spinner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Enhanced progress bar styling */
.radzen-loading-container .rz-progressbar {
    background-color: #e9ecef !important;
    border-radius: 50px !important;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.radzen-loading-container .rz-progressbar .rz-progressbar-value {
    background: linear-gradient(90deg, #003366, #0066cc, #003366) !important;
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
    border-radius: 50px !important;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Pulsing effect for the container */
.radzen-loading-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #003366, #0066cc, #003366);
    border-radius: 14px;
    z-index: -1;
    animation: borderPulse 3s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* Additional loading animation for modern look */
.radzen-loading-container h4 {
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}
