﻿.loader-container {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}


.spinner {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 4px solid transparent;
    border-top: 4px solid #0067b0;
    border-right: 4px solid #98bf40;
    border-bottom: 4px solid #0067b0;
    border-left: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    z-index: 1;
}

.pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

.p-loader {
    height: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background-color: #e9ecef;
    border-radius: 10px;
}

.p-loader-bar {
    background-color: #0067b0;
    animation: p-loader-animation 3s infinite;
}

.loading-text {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.loading-subtext {
    color: #6c757d;
    font-size: 0.9rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

@keyframes p-loader-animation {
    0% {
        width: 10%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 10%;
    }
}


.animate__fadeInSlow {
    animation-name: fadeInSlow;
    animation-duration: 2s;
}

.animate__fadeOutSlow {
    animation-name: fadeOutSlow;
    animation-duration: 2s;
}

@keyframes fadeInSlow {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOutSlow {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.update-p-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
