
/* ==========================================================================
   JetInv Brand Luxury Preloader
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #0e1b2b; /* Premium JetInv Deep Navy */
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#status,
.status-mes {
    position: relative;
    top: auto;
    left: auto;
    margin: 0;
    width: 140px;
    height: 140px;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pulsing Gold Halo Ring */
#status::before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #d7a126;
    border-right-color: #f7ce68;
    animation: jetinv-spin 1.2s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
    box-shadow: 0 0 25px rgba(215, 161, 38, 0.35);
}

/* Outer Soft Glow Pulse */
#status::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px dashed rgba(215, 161, 38, 0.35);
    animation: jetinv-spin-reverse 3s linear infinite;
}

/* JetInv Brand Logo in Center */
.status-mes {
    width: 72px;
    height: 72px;
    background-image: url('../images/jetinv-icon.png') !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    animation: jetinv-pulse 1.8s ease-in-out infinite;
    filter: drop-shadow(0 4px 14px rgba(215, 161, 38, 0.45));
}

@keyframes jetinv-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes jetinv-spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes jetinv-pulse {
    0%, 100% { transform: scale(0.92); opacity: 0.85; }
    50% { transform: scale(1.06); opacity: 1; }
}
