.global-loading-modal {
    background: white;
    border-radius: 12px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    position: relative;
}

/* Layout */
.global-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.global-loading-spinner-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hourglass icon styled + animated */
.global-loading-hourglass {
    font-size: 3rem;
    color: #7c3aed; /* purple base */
    animation: hourglassFlip 1.2s ease-in-out infinite;
}

@keyframes hourglassFlip {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Text */
.global-loading-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.global-loading-subtitle {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Progress bar with purple base */
.global-loading-progress-bar {
    width: 100%;
    height: 4px;
    background-color: #ede7f6; /* light purple background */
    border-radius: 2px;
    overflow: hidden;
}

.global-loading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #5b21b6); /* purple gradient */
    border-radius: 2px;
    animation: globalProgressIndeterminate 2s ease-in-out infinite;
    transform-origin: left;
}

@keyframes globalProgressIndeterminate {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    50% {
        transform: scaleX(0.6);
        transform-origin: left;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}
