/**
 * Page Transition Loader Styles
 */

.page-transition-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;

    &.active {
        display: flex;
    }
}

.page-transition-loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-transition-loader-image {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.page-transition-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

// Prevent scrolling when loader is active
body.page-transitioning {
    overflow: hidden;
}

// Dark mode support (optional)
@media (prefers-color-scheme: dark) {
    .page-transition-loader {
        background-color: rgba(22, 22, 22, 0.95);
    }
}

