/* Search Section */
.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 60px;
}

.search-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.search-input-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.search-input::placeholder {
    color: #9ca3af;
}

.select-container {
    position: relative;
    min-width: 200px;
}

.filter-select {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-bottom: 0;
    height: 43px;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-select:hover {
    border-color: #d1d5db;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.filter-select:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}


.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* Empty state */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.no-results p {
    font-size: 14px;
}

/* Responsive Search */
@media (max-width: 640px) {
    .search-container {
        padding: 16px;
    }

    .search-input-container {
        max-width: 100%;
    }

    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .select-container {
        display: none;
    }
}

