.it-search-container {
    max-width: 600px;
    font-family: 'Prompt', sans-serif;
}

.search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

.search-input:focus {
    outline: none;
    border-color: #00A950;
    box-shadow: 0 0 0 3px rgba(0, 169, 80, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
    fill: #666;
}

.loading-spinner {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #00A950;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.search-results {
    display: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
}

.results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.result-item {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item:hover,
.result-item.selected {
    background-color: #f8f9fa;
}

.result-title {
    color: #00A950;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.result-excerpt {
    font-size: 0.875rem;
    color: #666;
}

.no-results {
    padding: 1rem;
    text-align: center;
    color: #666;
}

/* Custom scrollbar */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #00A950;
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #008940;
}

/* Responsive */
@media (max-width: 768px) {
    .it-search-container {
        margin: 1rem;
    }
    
    .search-input {
        font-size: 0.875rem;
    }
}