.location-tabs {
    display: flex;
    gap: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 16px;
}

.location-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
    transition: all var(--transition);
}

.location-tab svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.location-tab.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px var(--primary-30);
}

.location-panel {
    display: none;
}

.location-panel.active {
    display: block;
}

#map {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
    margin-top: 10px;
}

#map-search-wrap {
    position: relative;
}

#map-search {
    width: 100%;
    padding: 11px 14px 11px 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

#map-search:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-10);
}

#map-search::placeholder {
    color: var(--text-muted);
}

#map-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 16px;
    height: 16px;
}

.location-confirmed {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--success-10);
    border: 1px solid var(--success-30);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    margin-top: 12px;
}

.location-confirmed svg {
    width: 16px;
    height: 16px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 1px;
}

.location-confirmed-label {
    font-size: 0.72rem;
    color: var(--success);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.location-confirmed-text {
    color: var(--text);
    font-weight: 500;
    font-size: 0.875rem;
}

.pac-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px var(--black-50);
    font-family: var(--font-body);
    margin-top: 4px;
}

.pac-item {
    padding: 10px 14px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--transition);
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover,
.pac-item-selected {
    background: var(--primary-10);
    color: var(--text);
}

.pac-item-query {
    color: var(--text);
    font-weight: 600;
}

.pac-icon {
    display: none;
}