:root {
    --primary-color: #7030a0;
    --bs-primary: #7030a0;
}

.text-primary {
    color: #7030a0 !important;
}

.bg-primary {
    background-color: #7030a0 !important;
}

.btn-primary {
    background-color: #7030a0 !important;
    border-color: #7030a0 !important;
}

.logo-text {
    color: var(--primary-color) !important;
}

/* Loading Overlay Styles */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    flex-direction: column;
    transition: all 0.3s ease;
}

.spinner-wrapper {
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    border: 1px solid rgba(112, 48, 160, 0.1);
}

.spinner-main {
    width: 70px;
    height: 70px;
    border: 4px solid rgba(112, 48, 160, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin-premium 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    position: relative;
}

.spinner-main::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-bottom: 4px solid var(--primary-color);
    opacity: 0.3;
}

.loading-text-main {
    font-family: 'Cairo', sans-serif;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.loading-subtext {
    font-family: 'Cairo', sans-serif;
    color: #718096;
    font-size: 0.95rem;
    margin: 0;
}

@keyframes spin-premium {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Show class for the overlay */
#loading-overlay.show {
    display: flex !important;
}