﻿.loader-wrapper {
    position: fixed; /* Sit on top of the page content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* A white background */
    z-index: 9999; /* Make sure it's on top */
    display: flex; /* Use flexbox to center the spinner */
    justify-content: center;
    align-items: center;
    transition: opacity 0.75s, visibility 0.75s; /* Smooth fade-out transition */
}

/* The loading spinner animation */
.loader-browser {
    border: 8px solid #f3f3f3; /* Light grey circle */
    border-top: 8px solid #3498db; /* Blue spinning part */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite; /* Animation definition */
}

/* Defines the spinning animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* This class will be added by JavaScript to hide the loader */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}
