/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} */

/* body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/random/1920x1080/?real-estate');
    background-size: cover;
    background-position: center;
} */

.search-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.search-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1c2d37;
    white-space: nowrap;
    margin-right: 10px;
}

.search-form {
    display: flex;
    flex-grow: 1;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-container {
    position: relative;
    flex-grow: 1;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    padding-left: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    background-color: #ffffff;
}

.search-input:focus {
    border-color: #3a7bd5;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.search-dropdown {
    flex-basis: 200px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.search-button {
    padding: 12px 25px;
    background-color: #1a3c5a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #0f2b46;
}

.search-button-icon {
    margin-right: 8px;
}

#searchSuggestions {
    position: absolute;
    width: 100%;
    text-align: left;
    max-height: 250px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 5px 5px;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f5f7fa;
}

.suggestion-details {
    font-size: 0.85rem;
    color: #777;
    margin-top: 3px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-details span {
    background-color: #f0f4f8;
    padding: 2px 6px;
    border-radius: 3px;
}

@media (max-width: 1024px) {
    .search-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .search-form {
        width: 100%;
    }
}

@media screen and (m-width: 1280px) {
    .property-search-form-custom {
        /* font-size: 72px; */
        /* font-weight: 600; */ 
        /* line-height: 1.22; */
        max-width: 1200px;    
        margin-left: auto;
        margin-right: auto;
        /* justify-content: center; */
        align-items: center;
        margin-bottom: 44px;
        align-content: center;
        text-align: center;
    }
    
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-dropdown {
        flex-basis: auto;
    }

    .search-button {
        margin-top: 10px;
    }
}