﻿


/* NEBULA LOADER OVERLAY */
.nebula-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255, 0.60); /* Matte background */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it appears above other elements */
    backdrop-filter: blur(5px); /* Adds a frosted glass effect */
}

/* NEBULA LOADER CONTAINER */
.nebula-loader-bar-container {
    width: 80%; /* Adjust width as needed */
    max-width: 400px;
    height: 10px;
    background: #ccc; /* Light gray background for the progress bar track */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for elegance */
}

/* Progress bar itself */
.nebula-loader-bar {
    width: 0%; /* Initial width (will animate) */
    height: 100%;
    background: linear-gradient(90deg, #c384fe, #9b30ff); /* RebelCV button colors */
    animation: nebula-loading 3s infinite; /* Smooth animation */
}

/* Keyframes for the loading animation */
@keyframes nebula-loading {
    0% {
        width: 0%;
    }

    50% {
        width: 80%;
    }

    90% {
        width: 90%;
    }

    100% {
        width: 100%;
    }
}
