/* Navbar Styling */
.navbar {
    height: 70px; /* Fixed height for consistency */
}

/* Account Dropdown - Floating Style */
.user-dropdown-menu {
    position: absolute !important; /* Forces it to float over content */
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 10px; /* Spacing from bar */
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 12px;
    min-width: 200px;
    z-index: 1050; /* Above everything */
}
/* Hero Search Bar */

.position-relative {
    position: relative;
}

.autocomplete-list {
    position: absolute;
    top: 100%; /* Push it right below the input */
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border-radius: 0 0 10px 10px;
    max-height: 250px;
    overflow-y: auto;
    display: none; /* Hidden by default */
    text-align: left;
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    color: #333;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #f8f9fa; /* Bootstrap light gray */
    color: #000;
}

/* Mobile-Specific Layout (Below 992px) */
@media (max-width: 991.98px) {
    /* 1. Force the Logo to the absolute center */
    .navbar-brand-centered {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    /* 2. Ensure Toggler stays left */
    .navbar-toggler {
        border: none;
        padding-left: 0;
    }
    .navbar-toggler:focus {
        box-shadow: none; /* Remove blue glow */
    }
}