/* Garage System Styles */
.wf-garage-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.wf-garage-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    min-width: 140px;
}

.wf-garage-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.wf-garage-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.wf-garage-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #FFB800;
    color: #000;
    font-size: 9px;
    font-weight: 800;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #111827;
}

.wf-garage-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    overflow: hidden;
}

.wf-garage-status {
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0.05em;
    opacity: 0.6;
    font-weight: 600;
}

.wf-garage-vehicle-name {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wf-garage-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 10000;
    padding: 20px;
    border: 1px solid #eee;
    color: #111827;
}

.wf-garage-dropdown.active {
    display: block;
    animation: wfFadeIn 0.2s ease;
}

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

.wf-garage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wf-garage-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.wf-garage-clear {
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
    font-weight: 500;
}

.wf-garage-clear:hover {
    color: #ef4444;
}

.wf-garage-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wf-garage-close {
    border: none!important;
    padding: 5px!important;
    cursor: pointer!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    transition: all 0.2s!important;
    border-radius: 8px!important;
}

.wf-garage-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.wf-garage-close i {
    width: 20px;
    height: 20px;
}

.wf-garage-empty {
    text-align: center;
    padding: 10px 0 20px;
}

.wf-garage-empty-text {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 20px;
}

.wf-garage-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.wf-vehicle-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.wf-vehicle-card:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.wf-vehicle-card.active {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.wf-vehicle-info {
    flex: 1;
}

.wf-vehicle-name {
    font-weight: 600;
    font-size: 15px;
    display: block;
}

.wf-vehicle-meta {
    font-size: 12px;
    color: #64748b;
    display: block;
}

.wf-vehicle-actions {
    display: flex;
    gap: 8px;
}

.wf-vehicle-action {
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-btn-edit:hover { background: #e2e8f0; color: #1e293b; }
.wf-btn-delete:hover { background: #fee2e2; color: #ef4444; }

.wf-garage-add-btn {
    width: 100% !important;
    background: #111827;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wf-garage-add-btn:hover {
    background: #1f2937;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .wf-garage-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
        order: -1;
    }
    .wf-garage-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        margin-top: 0;
        padding: 30px 20px;
    }
}
