﻿#global-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7); /* Dark semi-transparent */
    backdrop-filter: blur(4px); /* Modern blur effect */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Stay above everything, including modals */
    transition: opacity 0.3s ease;
}

.loader-content {
    text-align: center;
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


#copyToast.show {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    animation: toastBounce .4s ease-out;
}

@keyframes toastBounce {
    0% {
        transform: translateY(-25px);
        opacity: 0;
    }

    60% {
        transform: translateY(5px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
