/* Property Search Bar Styles */
.property-search-bar {
    flex: 1;
    max-width: 800px;
    margin: 0 20px;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
}

.search-section {
    position: relative;
}

/* Search Dropdown Button */
.search-dropdown-btn {
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    text-align: left;
    padding: 10px 14px;
    border-radius: 4px;
    transition: all 0.2s;
    min-width: 140px;
    display: block;
}

.search-dropdown-btn:hover {
    border-color: #ff385c;
}

.search-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    margin-bottom: 3px;
}

.search-value {
    display: block;
    font-size: 14px;
    color: #222;
}

/* Dropdown Panel */
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 16px;
    min-width: 280px;
    z-index: 1000;
}

.search-dropdown.active {
    display: block;
}

/* Property Type Options */
.type-section {
    min-width: 140px;
}

.type-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.type-option:last-child {
    margin-bottom: 0;
}

.type-option i {
    font-size: 20px;
    color: #717171;
    width: 24px;
    text-align: center;
}

.type-option span {
    font-size: 15px;
    color: #222;
    font-weight: 500;
}

.type-option:hover {
    background: #f7f7f7;
}

.type-option.active {
    background: #ffebee;
    border: 1px solid #ff385c;
}

.type-option.active i,
.type-option.active span {
    color: #ff385c;
}

/* Location Options */
.location-section {
    min-width: 160px;
}

.location-option {
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.location-option:last-child {
    margin-bottom: 0;
}

.location-option strong {
    display: block;
    font-size: 14px;
    color: #222;
    margin-bottom: 2px;
}

.location-option small {
    display: block;
    font-size: 12px;
    color: #717171;
}

.location-option:hover {
    background: #f7f7f7;
}

.location-option.active {
    background: #ffebee;
    border: 1px solid #ff385c;
}

.location-option.active strong {
    color: #ff385c;
}

/* Price Section */
.price-section {
    min-width: 140px;
}

.price-dropdown {
    min-width: 320px;
    padding: 20px;
}

.price-slider-group {
    margin-bottom: 20px;
}

.price-slider-group:last-child {
    margin-bottom: 0;
}

.price-slider-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.price-slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff385c;
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff385c;
    cursor: pointer;
    border: none;
}

.price-input-inline {
    width: 90px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    transition: border-color 0.2s;
}

.price-input-inline:hover,
.price-input-inline:focus {
    border-color: #ff385c;
    outline: none;
}

/* Text Search */
.text-search-section {
    flex: 1;
    min-width: 150px;
}

.free-text-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #222;
    background: white;
    transition: border-color 0.2s;
}

.free-text-input:hover,
.free-text-input:focus {
    border-color: #ff385c;
    outline: none;
}

.free-text-input::placeholder {
    color: #999;
}

/* Search Button */
.search-submit-btn {
    background: linear-gradient(to right, #ff385c, #ff1744);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 16px;
    flex-shrink: 0;
}

.search-submit-btn:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .property-search-bar {
        max-width: 650px;
    }

    .search-container {
        gap: 8px;
    }

    .search-dropdown-btn {
        min-width: 120px;
        padding: 8px 12px;
    }
}

@media (max-width: 992px) {
    .property-search-bar {
        display: none;
    }
}

/* Right Navigation Alignment */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-right .simple-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.navbar-right .simple-nav li {
    margin: 0;
}

.navbar-right .simple-nav li a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-right .simple-nav li a:hover {
    color: #ff385c;
}
