.search-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

.input-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.input-group input,
.custom-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e1e3e6;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.input-group input:focus,
.custom-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    background-color: #ffffff;
}

.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e1e3e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.suggestions-box div {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestions-box div:hover {
    background-color: #f3f4f6;
}

.toggle-advanced {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s;
}

.toggle-advanced:hover {
    color: #2563eb;
}

.toggle-advanced svg {
    transition: transform 0.2s ease;
}

.advanced-filters {

    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-top: 8px;
}

.advanced-filters.show {
    display: flex;
}
@media (max-width: 640px) {
    .advanced-filters{
        display:none;
    }
    .toggle-advanced {
        display: inline-flex;
    }
}
.filter-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-section label {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
}

.amenities-label {
    margin-bottom: 8px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.checkbox-item label {
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.ai-search-container {
    margin-top: 12px;
    max-width: 600px;
}

.ai-input-wrapper {
    position: relative;
}

.ai-input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 1px solid #e1e3e6;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.ai-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    background-color: #ffffff;
}

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

.ai-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #3b82f6;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.search-button {
    align-self: flex-start;
    padding: 14px 24px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 12px;
}

.search-button:hover {
    background-color: #2563eb;
}

/* Animation classes for AI icon */
.icon-bounce {
    animation: bounce 0.5s ease infinite alternate;
}

.icon-shake {
    animation: shake 0.3s ease infinite;
}

.icon-pulse {
    animation: iconPulse 0.8s ease infinite;
}

.icon-rotate {
    animation: rotate 1s ease infinite;
}

.icon-color-change {
    animation: colorChange 2s ease infinite;
}

@keyframes bounce {
    0% { transform: translateY(-50%) scale(1); }
    100% { transform: translateY(-50%) scale(1.2); }
}

@keyframes shake {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    25% { transform: translateY(-50%) rotate(-5deg); }
    75% { transform: translateY(-50%) rotate(5deg); }
}

@keyframes iconPulse {
    0% { opacity: 0.7; transform: translateY(-50%) scale(0.95); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.05); }
    100% { opacity: 0.7; transform: translateY(-50%) scale(0.95); }
}

@keyframes rotate {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

@keyframes colorChange {
    0% { color: #3b82f6; }
    25% { color: #8b5cf6; }
    50% { color: #ec4899; }
    75% { color: #60a5fa; }
    100% { color: #3b82f6; }
}
