﻿.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 5050;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(4px); /* adds a frosted glass effect */
}

.spinner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top: 7px solid #66B94F;
    background-image: linear-gradient(45deg, #ff8a00, #e52e71);
    box-shadow: 0 0 25px rgba(255, 108, 0, 0.8), 0 0 50px rgba(255, 200, 0, 0.5);
    animation: spin 1.2s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    position: relative;
}

/* Optional glowing pulse effect */
@keyframes glow {
    0% {
        box-shadow: 0 0 15px rgba(255, 108, 0, 0.5), 0 0 30px rgba(255, 200, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 35px rgba(255, 108, 0, 0.9), 0 0 70px rgba(255, 200, 0, 0.6);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
