/* Search Enhancements CSS */
/* تحسينات البحث */

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-suggestions-btn {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #40B69E;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.search-suggestions-btn:hover {
    background: #40B69E;
    color: white;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 5px;
    padding: 15px;
}

.suggestion-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.suggestion-tag:hover {
    background: #40B69E;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Enhanced Search Input */
.listsearch-input-item input[type="text"] {
    padding-left: 45px !important;
    font-size: 14px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.listsearch-input-item input[type="text"]:focus {
    border-color: #40B69E;
    box-shadow: 0 0 0 3px rgba(64, 182, 158, 0.1);
}

/* Enhanced Select Dropdowns */
.chosen-select {
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 12px !important;
    transition: all 0.3s ease;
}

.chosen-select:focus {
    border-color: #40B69E !important;
    box-shadow: 0 0 0 3px rgba(64, 182, 158, 0.1) !important;
}

/* Checkbox Enhancements */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #40B69E;
    cursor: pointer;
}

/* Filter Section Enhancements */
.listsearch-input-item {
    margin-bottom: 20px;
}

.listsearch-input-item label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

/* Button Enhancements */
.btn.small-btn.float-btn.color-bg {
    background: linear-gradient(135deg, #40B69E 0%, #2c8f7a 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(64, 182, 158, 0.3);
}

.btn.small-btn.float-btn.color-bg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 182, 158, 0.4);
}

.reset-form.reset-btn {
    background: #6c757d;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.reset-form.reset-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .suggestion-tags {
        gap: 5px;
    }
    
    .suggestion-tag {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .search-suggestions {
        padding: 10px;
    }
    
    .suggestion-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
}

/* Animation for suggestions */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-suggestions {
    animation: slideDown 0.3s ease;
}

/* Hover effects for filter items */
.listsearch-input-item:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Enhanced form styling */
.block-box.fl-wrap.search-sb {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 25px;
    border: 1px solid #e9ecef;
}

.list-searh-input-wrap-title {
    background: linear-gradient(135deg, #40B69E 0%, #2c8f7a 100%);
    color: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    margin: -25px -25px 20px -25px;
    text-align: center;
    font-weight: 600;
}
