.ai-toggle-label { cursor: pointer; margin-bottom: 0; display: flex; align-items: center; gap: 5px; user-select: none; }
.ai-toggle-input { position: absolute; opacity: 0; width: 0; height: 0; }
.ai-toggle-visual { display: flex; align-items: center; gap: 4px; }
.ai-toggle-icon { width: 28px; height: 28px; object-fit: contain; transition: all 0.3s ease; filter: grayscale(100%); opacity: 0.5; }
.ai-toggle-text { color: #888; font-weight: 500; font-size: 13px; transition: color 0.3s ease; }
.ai-toggle-input:checked + .ai-toggle-visual .ai-toggle-icon { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }
.ai-toggle-input:checked + .ai-toggle-visual .ai-toggle-text { color: #005293; font-weight: 700; }
.ai-toggle-label:hover .ai-toggle-icon { opacity: 0.8; }

/* Окно подсказки */
.ai-search-hint {
    position: absolute;
    top: 100%; 
    left: 0; 
    margin-top: 5px; 
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px; 
    color: #555;
    white-space: nowrap;
    z-index: 1000;
}
/* Хвостик вверх */
.ai-search-hint::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 20px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    transform: rotate(45deg);
}
.ai-example {
    color: #005293; 
    cursor: pointer;
    text-decoration: dashed underline; 
    transition: color 0.2s;
    font-weight: 600;
}
.ai-example:hover {
    color: #ff6600; 
}