﻿.loader-container {
    /* Positions the container fixed to the viewport */
    position: fixed;
    inset: 0; /* Shorthand for top: 0; right: 0; bottom: 0; left: 0; */
    /* Use Flexbox for centering */
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    /* Optional: Adds a background overlay and ensures it's above other content */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 9999; /* Ensures the loader is on top of other elements */
    visibility: hidden;
}

/* Styles for your actual loader (e.g., a spinner animation or image) */
.loader {
    /* ... your loader styles (width, height, animation, etc.) ... */
    border: 16px solid #f3f3f3;
    border-top: 16px solid #e72f2d;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
