﻿/* loader.css */

/* The full-screen overlay */
#ui-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 200, 200, 0.7);
    z-index: 2147483647;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

/* The container for the spinner */
.ui-loader-card {
    background: #fff0;
    padding: 25px 40px;
    border-radius: 8px;
    /*box-shadow: 0 4px 15px rgba(0,0,0,0.2);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: sans-serif;
}

/* The Spinner Animation */
.ui-loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db; /* Blue color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* The Text */
.ui-loader-text {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
