.tag-hotel-search-wrapper {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 40px auto;
    max-width: 1050px;
    position: relative;
    z-index: 10;
}

.tag-hotel-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.search-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 120px;
    position: relative;
}

.destination-field {
    flex: 2.5;
    min-width: 250px;
}

.date-field {
    flex: 1.2;
}

.guests-field, .rooms-field {
    flex: 0.8;
}

.search-field label {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.search-field label i {
    margin-right: 5px;
}

.search-field input {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    color: #2d3436;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    height: 52px;
    font-family: inherit;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.search-field input:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4), inset 0 2px 4px rgba(0,0,0,0.05);
    border-color: #fff;
}

.submit-field {
    flex: 1.2;
    min-width: 150px;
}

.tag-search-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #ff5a5f 0%, #e63946 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    font-family: inherit;
    letter-spacing: 0.5px;
}

.tag-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.6);
    background: linear-gradient(135deg, #ff6b6f 0%, #ed4c58 100%);
}

.tag-search-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(230, 57, 70, 0.4);
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
    display: none;
    margin-top: 8px;
    border: 1px solid #eee;
}

.autocomplete-item {
    padding: 14px 18px;
    cursor: pointer;
    color: #2d3436;
    border-bottom: 1px solid #f1f2f6;
    transition: all 0.2s;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.autocomplete-item::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #a4b0be;
    font-size: 14px;
}

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

.autocomplete-item:hover, .autocomplete-active {
    background: #f8f9fa;
    color: #ff5a5f;
    padding-left: 22px;
}

.autocomplete-item:hover::before, .autocomplete-active::before {
    color: #ff5a5f;
}

/* Scrollbar for autocomplete */
.autocomplete-results::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.autocomplete-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.autocomplete-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media (max-width: 992px) {
    .guests-field, .rooms-field {
        flex: 1;
        min-width: calc(33.333% - 11px);
    }
}

@media (max-width: 768px) {
    .tag-hotel-search-wrapper {
        padding: 20px 15px;
    }
    
    .tag-hotel-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-field {
        width: 100%;
        min-width: 100%;
    }
    
    .guests-field, .rooms-field, .date-field {
        min-width: 100%;
    }
}
