/* חיפוש וקטורי - Frontend CSS */

.vs-full-search-wrapper {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.vs-search-form {
    margin-bottom: 30px;
}

.vs-search-input-group {
    display: flex;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.vs-search-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    outline: none;
}

.vs-search-input:focus {
    border-color: #0073aa;
}

.vs-search-button {
    padding: 15px 30px;
    background: #0073aa;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background 0.3s;
}

.vs-search-button:hover {
    background: #005a87;
}

.vs-search-icon {
    margin-left: 5px;
}

.vs-results-header {
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 8px;
}

.vs-results-info {
    margin: 0;
    color: #333;
}

.vs-response-time {
    color: #666;
    font-size: 14px;
}

.vs-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vs-result-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.vs-result-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vs-result-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
}

.vs-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.vs-result-content {
    flex: 1;
}

.vs-result-title {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.vs-result-title a {
    color: #0073aa;
    text-decoration: none;
}

.vs-result-title a:hover {
    text-decoration: underline;
}

.vs-result-excerpt {
    margin: 10px 0;
    color: #666;
    line-height: 1.6;
}

.vs-result-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 14px;
    color: #999;
}

.vs-meta-item {
    display: inline-flex;
    align-items: center;
}

.vs-no-results {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

.vs-no-results p {
    margin: 10px 0;
}

.vs-hint {
    color: #666;
    font-size: 14px;
}

.vs-error {
    padding: 20px;
    background: #fff0f0;
    border: 1px solid #ff4444;
    border-radius: 8px;
    color: #cc0000;
}

/* Responsive */
@media (max-width: 768px) {
    .vs-result-item {
        flex-direction: column;
    }

    .vs-result-image {
        width: 100%;
        height: 200px;
    }
}
