.form-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    margin: auto;
    justify-content: center;
}

.form-section form {
    display: flex;
}

.input-group {
    flex: 1;
    margin: 10px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.2;
}

.input-group .datepicker {
    width: 100%;
}

.trip-type {
    flex: 1;
    display: flex;
    margin: 10px;
}

.trip-button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    margin-right: 5px;
    cursor: pointer;
    font-weight: bold;
}

.trip-button.active,
.trip-button:hover {
    background-color: #0056b3;
}



.explore-button-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.explore-button {
    background-color: #126886;
    border-color: #126886;
    border-radius: 8px;
    border-width: 2px;
    transition: all .3s ease-in;
    padding: 16px;
    font-size: 14px;
    width: 100%;
}

.explore-button:hover {
    background-color: #fff;
    color: #3b67e2;
    border-color: #2a55cb;
}

.search_location_wrapper {
    position: relative;
}

.loading-results {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(15%);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in;
}

.loading-results.loading {
    opacity: 1;
    visibility: visible;
}

span#location_suggestion_err {
    position: absolute;
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: #e24;
    z-index: 1;
    margin-bottom: 5px;
}

ul#suggestionsList {
    margin: 0;
    list-style: none;
    position: absolute;
    background: #fff;
    padding: 5px 0px;
    box-shadow: 0 5px 5px #ccc;
    top: 99%;
    max-height: 200px;
    overflow: auto;
    width: 100%;
    z-index: 4;
}

ul#suggestionsList:empty {
    display: none;
}

ul#suggestionsList li {
    cursor: pointer;
    padding: 5px 10px;
}

ul#suggestionsList li:not(:last-child) {
    border-bottom: 1px solid #ccc;
}


ul#suggestionsList li:hover {
    background: #e9f1f4;
}

.hotel-card {
    display: flex;
    max-width: 800px;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin: auto;
	margin-bottom: 15px;
}

.hotel-img {
    width: 20%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.hotel-details {
    padding: 15px;
    flex: 1.4;
    border-right: 2px dashed #eee;
}

.hotel-top {
    margin-bottom: 0px;
}

.hotel-top .hotel-name {
	color: #126886;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.hotel-stars {
    color: #f5b50a;
    font-size: 16px;
    margin: 6px 0;
}

.hotel-category {
    display: inline-flex;
    background-color: #eee;
    padding: 2px 8px;
    font-size: 13px;
    border-radius: 4px;
    gap: 6px;
}

.hotel-location {
    margin-top: 6px;
    font-size: 14px;
    color: #555;
	margin-bottom: 6px;
}

.hotel-location a {
    text-decoration: none;
    color: #2175f5;
}

.hotel-check {
    font-size: 14px;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.hotel-price-section {
    flex: 0.8;
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.price-amount {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.price-label {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.btn-select {
    background-color: #ff6a00;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-select:hover {
    background-color: #e25a00;
}


@media screen and (max-width: 520px) {
    .form-section form {
        width: 100%;
        flex-flow: column wrap;
    }

    .input-group {
        margin: 0 0 10px;
    }

    .input-group label {
        display: none;
    }

    .explore-button {
        width: 100%;
    }

    input.has-error {
        margin-bottom: 20px;
    }

    span#location_suggestion_err {
        bottom: -10px;
    }

    .loading-results {
        transform: translateY(-50%);
    }
	
	.hotel-card{
		flex-flow: column;
	}
	.hotel-img {
		width: 100%;
		justify-content: left;
	}
	.hotel-img img {
		max-height: 200px;
	}
	.hotel-details{
		border-right: none;
		border-bottom: 2px dashed #eee;
	}
}