/* jalpi-styles.css */
/* Modern Premium UI for Search Filter */
.jalpi-search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.jalpi-search-container:focus-within {
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.15);
    border-color: #3b82f6;
}

.jalpi-search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 250px;
}

.jalpi-search-icon {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    color: #94a3b8;
}

.jalpi-search-input-wrapper input.jalpi-search-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: none;
    border-right: 1px solid #e2e8f0;
    background: transparent;
    font-size: 16px;
    color: #1e293b;
    outline: none;
    box-shadow: none;
    border-radius: 0;
}

.jalpi-search-input-wrapper input.jalpi-search-input:focus {
    box-shadow: none;
    border-right-color: #e2e8f0;
}

.jalpi-search-input-wrapper input.jalpi-search-input::placeholder {
    color: #94a3b8;
}

.jalpi-category-select-wrapper {
    position: relative;
    min-width: 200px;
    flex-shrink: 0;
}

.jalpi-category-select-wrapper select.jalpi-category-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 40px 12px 16px;
    height: 46px;
    line-height: normal;
    box-sizing: border-box;
    border: 1px solid transparent;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 15px;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    box-shadow: none;
}

.jalpi-category-select-wrapper select.jalpi-category-select:hover,
.jalpi-category-select-wrapper select.jalpi-category-select:focus {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.jalpi-category-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 14px;
    height: 14px;
    color: #64748b;
}

.jalpi-no-results {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 16px;
    width: 100%;
    margin-bottom: 20px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .jalpi-search-container {
        flex-direction: column;
        padding: 12px;
        gap: 8px;
    }
    
    .jalpi-search-input-wrapper {
        width: 100%;
    }
    
    .jalpi-search-input-wrapper input.jalpi-search-input {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .jalpi-category-select-wrapper {
        width: 100%;
    }
}
