/* ==========================================================================
   TripTickers Premium Travel SVG Loader & Preloader
   Compact & Refined Size across Mobile (App-style), Tablet & Desktop
   Vibrant Brand Orange Theme
   ========================================================================== */

#tt-global-travel-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

#tt-global-travel-loader.is-active,
#tt-global-travel-loader.page-loading {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Glassmorphic Compact Loader Card */
.tt-travel-loader-card {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(250, 86, 54, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
    /* Desktop default sizing: compact and elegant */
    width: 210px;
    padding: 18px 16px 16px 16px;
    border-radius: 20px;
}

#tt-global-travel-loader.is-active .tt-travel-loader-card,
#tt-global-travel-loader.page-loading .tt-travel-loader-card {
    transform: scale(1);
}

.tt-travel-svg-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-travel-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Brand Text & Status */
.tt-travel-loader-brand {
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #0f172a;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tt-travel-loader-brand .brand-highlight {
    background: linear-gradient(135deg, #ff7a00 0%, #fa5636 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tt-travel-loader-status {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-travel-loader-status .dots span {
    display: inline-block;
    color: #fa5636;
    font-weight: bold;
    animation: ttDotPulse 1.4s infinite ease-in-out both;
}

.tt-travel-loader-status .dots span:nth-child(1) { animation-delay: 0.0s; }
.tt-travel-loader-status .dots span:nth-child(2) { animation-delay: 0.2s; }
.tt-travel-loader-status .dots span:nth-child(3) { animation-delay: 0.4s; }

/* SVG Animations */
@keyframes ttPlaneOrbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ttOrbitTrail {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: -200;
    }
}

@keyframes ttPulseWave {
    0% {
        transform: scale(0.88);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.15;
    }
    100% {
        transform: scale(0.88);
        opacity: 0.7;
    }
}

@keyframes ttCloudFloat {
    0%, 100% {
        transform: translateX(-3px);
    }
    50% {
        transform: translateX(3px);
    }
}

@keyframes ttDotPulse {
    0%, 80%, 100% {
        opacity: 0.25;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

/* SVG Specific Animation Classes */
.tt-svg-plane-orbit {
    transform-origin: 60px 60px;
    animation: ttPlaneOrbit 2.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.tt-svg-flight-track {
    stroke-dasharray: 6 6;
    animation: ttOrbitTrail 2.8s linear infinite;
}

.tt-svg-globe-waves {
    transform-origin: 60px 60px;
    animation: ttPulseWave 2.4s ease-in-out infinite;
}

.tt-svg-clouds {
    animation: ttCloudFloat 2.6s ease-in-out infinite;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (576px to 991px) */
@media (max-width: 991px) {
    .tt-travel-loader-card {
        width: 195px;
        padding: 16px 14px 14px 14px;
        border-radius: 18px;
    }
    .tt-travel-svg-wrapper {
        width: 58px;
        height: 58px;
        margin-bottom: 8px;
    }
    .tt-travel-loader-brand {
        font-size: 13.5px;
    }
    .tt-travel-loader-status {
        font-size: 11px;
    }
}

/* Mobile Devices (< 576px) - Native Travel Mobile App Style */
@media (max-width: 575px) {
    #tt-global-travel-loader {
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .tt-travel-loader-card {
        width: 170px;
        max-width: 75vw;
        padding: 15px 12px 13px 12px;
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(250, 86, 54, 0.12);
    }
    .tt-travel-svg-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 7px;
    }
    .tt-travel-loader-brand {
        font-size: 13px;
        margin-bottom: 1px;
    }
    .tt-travel-loader-status {
        font-size: 10.5px;
    }
}

/* Very Small Mobile (< 380px) */
@media (max-width: 379px) {
    .tt-travel-loader-card {
        width: 155px;
        padding: 13px 10px 11px 10px;
        border-radius: 16px;
    }
    .tt-travel-svg-wrapper {
        width: 44px;
        height: 44px;
        margin-bottom: 6px;
    }
    .tt-travel-loader-brand {
        font-size: 12px;
    }
    .tt-travel-loader-status {
        font-size: 10px;
    }
}

/* ==========================================================================
   Universal Mobile Viewport Protection
   Prevents horizontal blowout and off-screen shifting across all devices
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

body .bravo_wrap {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}
