/* migrated from public/css/geo.css; keep selectors intact for JS/HTML compatibility */
[file name]: /css/components/geo.css
                             [file content update]
/* geo.css - ТОЛЬКО стили для автодополнения геоданных */
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow);
    display: none;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.suggestion-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.geo-mobile-suggestions {
    display: block;
    padding: 6px;
    border: 1px solid var(--color-border, var(--border-color));
    border-radius: 12px;
    background: var(--color-white, #fff);
    box-shadow: var(--shadow-md, var(--shadow));
    z-index: 1200;
}

.geo-mobile-suggestions[hidden] {
    display: none !important;
}

.geo-mobile-suggestions button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--color-text-main, var(--text-color));
    font: inherit;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
}

.geo-mobile-suggestions button:hover,
.geo-mobile-suggestions button:focus {
    background: var(--color-bg-soft, var(--primary-light));
    color: var(--color-primary, var(--primary-color));
    outline: none;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    opacity: 0;
    position: absolute;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.checkbox-input:checked ~ .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-input:checked ~ .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: 12px;
    font-weight: bold;
}

/* Media Queries for Geo Components */
@media (max-width: 768px) {
    .suggestion-item {
        padding: 12px 15px;
        font-size: 16px;
    }
}
