/* 
 * Universal Floating Pill Header - Clean Glassmorphism & Layout Fixes
 */

body:not(.modal-open) {
    overflow: auto !important;
}

.header-style-01 {
    position: fixed !important;
    top: 15px;
    left: 50% !important;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1360px;
    z-index: 1030;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    padding-top: 100px !important;
}

.logo-wrapper {
    padding: 0;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        justify-content: center !important;
    }

    .show-nav-content {
        margin-left: auto;
    }
}

@media (max-width: 991px) {
    .header-style-01 {
        top: 10px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-inline: 12px !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    .header-style-01 .navbar-area {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .header-style-01 .nav-container {
        min-width: 0 !important;
        direction: ltr !important;
    }

    .header-style-01 .navbar-area .nav-container .responsive-mobile-menu {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 0 0 auto !important;
    }

    .header-style-01 .logo-wrapper {
        position: static !important;
        inset: auto !important;
        order: 0 !important;
        transform: none !important;
        max-width: calc(100% - 190px) !important;
        min-width: 0 !important;
        margin: 0 auto 0 0 !important;
        justify-content: flex-start !important;
    }

    .header-style-01 .logo-wrapper .logo,
    .header-style-01 .logo-wrapper .logo img {
        max-width: 100% !important;
    }

    [dir="rtl"] .header-style-01 .navbar-collapse {
        direction: rtl !important;
    }
}

@media (max-width: 480px) {
    .header-style-01 {
        padding-inline: 8px !important;
    }

    .header-style-01 .navbar-area {
        padding-inline: 10px !important;
    }

    .header-style-01 .logo-wrapper {
        max-width: calc(100% - 168px) !important;
    }

    .header-style-01 .logo-wrapper .logo img {
        max-height: 24px !important;
    }
}
