/**
 * Global Loading Overlay Styles
 * Used for page transitions and AJAX loading states
 */

#global-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.loading-spinner {
    text-align: center;
}

.spinner-border {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Poppins', 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #3498db;
    margin-top: 10px;
}

/* Fade in/out animation */
#global-loading-overlay.fade-in {
    animation: fadeIn 0.3s ease-in;
}

#global-loading-overlay.fade-out {
    animation: fadeOut 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

