.loader-Portal {
    background: rgba(84, 160, 255, 1.0);
    width: 100%;
    height: 100vh;
    position: absolute;
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
}

.loader-Portal img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
    animation-name: Portalloader;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.loader__lottiefile {
    position: absolute;
    margin-bottom: 80%;
    padding-bottom: 20px;
    top: -200%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation: loader__lottiefile 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.loader__label {
    text-align: center;
    margin: 0 auto;
    font-size: 1.875em;
    letter-spacing: .1em;
    line-height: 1.5em;
    color: #1976d2;
    -webkit-animation: loader-label 1.15s infinite cubic-bezier(.215, .61, .355, 1);
    -moz-animation: loader-label 1.15s infinite cubic-bezier(.215, .61, .355, 1);
    animation: loader-label 1.15s infinite cubic-bezier(.215, .61, .355, 1);
}

@keyframes Portalloader {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}

#circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-25%, -25%);
    width: 75px;
    height: 75px;
}

.loaderElemente {
    width: calc(100% - 0px);
    height: calc(100% - 0px);
    border: 4px solid #162534;
    border-top: 4px solid #09f;
    border-radius: 50%;
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loader Logístico - BlockUI */
.loader-logistica {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1201;
}

.loader-logistica-pista {
    position: relative;
    width: 140px;
    height: 40px;
    overflow: hidden;
}

.loader-logistica-dolly {
    font-size: 28px;
    color: #1976d2;
    position: absolute;
    bottom: 4px;
    left: -30px;
    animation: loaderDolly 1.8s ease-in-out infinite;
}

.loader-logistica-rastro {
    position: absolute;
    bottom: 12px;
    left: -70px;
    display: flex;
    gap: 3px;
    align-items: center;
    animation: loaderRastro 1.8s ease-in-out infinite;
}

.loader-logistica-rastro span {
    display: block;
    height: 2px;
    background: #90caf9;
    border-radius: 1px;
}

.loader-logistica-rastro span:nth-child(1) { width: 16px; opacity: 0.3; }
.loader-logistica-rastro span:nth-child(2) { width: 12px; opacity: 0.5; }
.loader-logistica-rastro span:nth-child(3) { width: 8px; opacity: 0.7; }

.loader-logistica-trilho {
    width: 140px;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: -4px;
    overflow: hidden;
    position: relative;
}

.loader-logistica-trilho-inner {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #1976d2, #42a5f5);
    border-radius: 2px;
    animation: loaderTrilho 1.8s ease-in-out infinite;
    transform-origin: left;
}

@keyframes loaderTrilho {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.loader-logistica-texto {
    font-size: 13px;
    font-weight: 600;
    color: #1976d2;
    letter-spacing: 0.5px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderDolly {
    0% { left: -30px; }
    100% { left: 140px; }
}

@keyframes loaderRastro {
    0% { left: -60px; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { left: 110px; opacity: 0; }
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}



/* Custom Preloader */
.preloader {
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 99999;
    background: #ffffff;
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
}

.loader {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px; /* space between image and texts */
    text-align: center;
}

.content-img-preloader img {
    max-width: 200px;
    height: auto;
}
.content-img-preloader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-text-preloader {
    text-align: center;
}

.content-text-preloader h3{
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #7ACDF2;
    margin:0;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

/* If animate.css classes are present, force our pulse to be infinite */
.content-text-preloader h3.animate__animated.animate__pulse {
    animation: preloaderPulse 1.2s ease-in-out infinite !important;
}

.content-text-preloader p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #204D8B;
    margin-top:5px;
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 1; transform: translateZ(0) scale(1); }
    50% { opacity: 0.75; transform: translateZ(0) scale(0.98); }
}