.search-wrapper {
    position: relative;
}

input[type="text"], input[type="email"] {
    width: 100%;
    padding: 15px 45px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

textarea {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus
{
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.loader {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

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

.suggestion-item:hover {
    background: #f8f9ff;
}

.suggestion-item.highlighted {
    background: #667eea;
    color: white;
}

.suggestion-item.highlighted small {
    color: rgba(255, 255, 255, 0.8) !important;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #999;
}

.info {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #856404;
    margin-top: 20px;
    border: 1px solid #ffeaa7;
}

.info strong {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.info pre {
    background: white;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 12px;
    margin-top: 8px;
}

.selected-info {
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 8px;
    display: none;
}

.selected-info.active {
    display: block;
}

.selected-info h3 {
    color: #2e7d32;
    margin-bottom: 8px;
    font-size: 16px;
}

.selected-info p {
    color: #555;
    font-size: 14px;
    margin: 5px 0;
}