/* Add Vehicle Dropdown */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    /* Increased width */
    width: max-content;
    /* Ensure it fits content */
    z-index: 1000;
    /* High z-index to stay on top */
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.1s ease-out;
}

.dropdown-menu.hidden {
    display: none;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    /* More padding */
    font-size: 0.95rem;
    color: #374151;
    cursor: pointer;
    transition: background 0.1s;
    font-weight: 500;
    display: block;
    /* Ensure block layout */
    white-space: nowrap;
    /* Prevent wrapping */
    text-align: left;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: var(--primary);
    /* Check var(--primary) existence or fallback */
    color: #111;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}