/* ESTILOS PARA BUSCADOR UNIFICADO PRINCIPAL */

.unified-search-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.unified-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/propiedades/villa-jardin-1/main.jpg') center/cover;
    opacity: 0.15;
    z-index: 1;
    border-radius: 15px;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
    position: relative;
    z-index: 2;
    padding: 25px;
}

.toggle-buttons {
    display: flex;
    gap: 5px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.toggle-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.toggle-btn:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-1px);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.toggle-btn i {
    font-size: 16px;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.search-field input,
.search-field select {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    background: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.search-btn-main {
    padding: 12px 25px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.search-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .toggle-buttons {
        justify-self: center;
        width: 100%;
        max-width: 300px;
    }
}

