﻿
/* ============================================
   PTA - LOADER FULL SCREEN INSTITUCIONAL
   Compartido por Root.master y Site.master
   ============================================ */
/* Contenedor generado por DevExpress */
.pta-dx-loading {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* Elementos internos de DevExpress */
.pta-dx-loading .dxlp-loadingImage,
.pta-dx-loading .dxlp-loadingImageWithText {
    display: none !important;
}

/* Pantalla completa */
.pta-dx-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    isolation: isolate;
    background: radial-gradient( ellipse at 0% 0%, rgba(129, 172, 230, .28), transparent 42% ), radial-gradient( ellipse at 100% 100%, rgba(255, 139, 35, .12), transparent 38% ), linear-gradient( 135deg, #f8faff, #f2f6fd 55%, #edf2fa );
    font-family: 'Segoe UI', Arial, sans-serif;
}

    /* Iluminación */
    .pta-dx-fullscreen::before,
    .pta-dx-fullscreen::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        filter: blur(65px);
        animation: ptaDxAmbient 5s ease-in-out infinite alternate;
    }

    .pta-dx-fullscreen::before {
        width: 340px;
        height: 340px;
        top: -130px;
        left: -110px;
        background: rgba(66, 131, 222, .17);
    }

    .pta-dx-fullscreen::after {
        width: 300px;
        height: 300px;
        bottom: -120px;
        right: -110px;
        background: rgba(255, 139, 35, .13);
        animation-delay: 1.2s;
    }

/* Contenido */
.pta-dx-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(92vw, 680px);
    text-align: center;
}

/* Logo */
.pta-dx-logo-wrap {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 34px;
}

.pta-dx-halo {
    position: absolute;
    width: 290px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient( ellipse, rgba(255, 142, 36, .15), rgba(47, 111, 211, .09) 45%, transparent 75% );
    filter: blur(18px);
    animation: ptaDxPulse 3s ease-in-out infinite;
}

.pta-dx-logo {
    display: block;
    position: relative;
    z-index: 2;
    width: min(72vw, 550px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    animation: ptaDxFloat 3s ease-in-out infinite;
    filter: drop-shadow( 0 10px 20px rgba(30, 70, 130, .08) );
}

/* Texto */
.pta-dx-text {
    color: #174a99;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.3px;
}

/* Puntos animados */
.pta-dx-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
}

    .pta-dx-dots span {
        display: block;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #a8c6f0;
        animation: ptaDxDot 1.1s ease-in-out infinite;
    }

        .pta-dx-dots span:nth-child(2) {
            background: #ff8b23;
            animation-delay: .15s;
        }

        .pta-dx-dots span:nth-child(3) {
            background: #93b8eb;
            animation-delay: .30s;
        }

/* Animaciones */
@keyframes ptaDxFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes ptaDxPulse {
    0%, 100% {
        transform: scale(.86);
        opacity: .45;
    }

    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

@keyframes ptaDxDot {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: .55;
    }

    40% {
        transform: translateY(-7px);
        opacity: 1;
    }
}

@keyframes ptaDxAmbient {
    from {
        transform: scale(1);
        opacity: .55;
    }

    to {
        transform: scale(1.20);
        opacity: 1;
    }
}

/* Móviles */
@media (max-width: 600px) {
    .pta-dx-logo {
        width: min(88vw, 440px);
    }

    .pta-dx-logo-wrap {
        margin-bottom: 25px;
    }

    .pta-dx-text {
        font-size: 19px;
    }

    .pta-dx-halo {
        width: 220px;
        height: 160px;
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .pta-dx-fullscreen *,
    .pta-dx-fullscreen::before,
    .pta-dx-fullscreen::after {
        animation: none !important;
    }
}

