.vehicle-dropdown-wrapper {
    position: relative;
    margin-right: 20px;
}

.vehicle-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.vehicle-dropdown-toggle:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.vehicle-icon {
    font-size: 18px;
}

.vehicle-text {
    font-weight: 500;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.vehicle-dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.vehicle-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none;
    z-index: 1000;
    animation: slideDown 0.3s ease;
    max-height: 500px;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-dropdown-menu.show {
    display: block;
}

.active-vehicle-info {
    padding: 16px;
    background: var(--pbmit-global-color) !important;
    color: white;
    border-radius: 12px 12px 0 0;
}

.active-vehicle-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.active-vehicle-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.active-vehicle-tire {
    font-size: 13px;
    opacity: 0.95;
}

.dropdown-section-title {
    padding: 12px 16px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1px dashed #bfbfbf;
}

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

.vehicle-dropdown-item:hover {
    background: #f8f9fa;
}

.vehicle-item-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.vehicle-item-info {
    flex: 1;
    min-width: 0;
}

.vehicle-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-item-tire {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.manage-garage {
    font-weight: 500;
    color: #007bff;
}

.manage-garage:hover {
    background: #e7f3ff;
}

.clear-vehicle {
    color: #dc3545!important;
}

.clear-vehicle:hover {
    background: #ffe5e8;
}

.dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 8px 0;
}

.user-account-dropdown {
    margin-right: 20px;
}

.user-account-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.user-icon {
    font-size: 18px;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .vehicle-text {
        max-width: 120px;
    }
}

@media (max-width: 992px) {
    .vehicle-dropdown-wrapper {
        margin-right: 10px;
    }
    
    .user-account-dropdown {
        margin-right: 10px;
    }
    
    .vehicle-dropdown-toggle,
    .user-account-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .vehicle-text {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .vehicle-dropdown-menu {
        right: auto;
        left: 0;
        min-width: 260px;
    }
    
    .user-name {
        display: none;
    }
}