/**
 * Search Form Styles
 * Styles for the accommodation search form widget
 */

.suitesync-search-form-widget {
    background: rgb(51 51 51 / 49%);
    padding: 30px;
    border-radius: 8px;
    box-shadow: none;
    margin: 0;
    backdrop-filter: blur(5px);
}

.suitesync-search-form .search-form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.suitesync-search-form .search-form-field {
    flex: 1;
    min-width: 200px;
}

.suitesync-search-form .search-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #fff;
    font-size: 14px;
    text-transform: capitalize;
}

.suitesync-search-form .search-date-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    color: #666;
    background: rgb(255 255 255 / 66%);
    transition: all 0.3s ease;
}

.suitesync-search-form .search-date-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 2px rgba(191, 167, 106, 0.3);
}

/* Guest counter styles */
.guests-counter {
    display: flex;
    align-items: center;
    gap: 0;
    border: none;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    height: 44px;
}

.guests-counter:focus-within {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 2px rgba(191, 167, 106, 0.3);
}

.guest-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(191, 167, 106, 0.8);
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}
button.guest-btn.guest-minus{
    border-radius: 5px 0 0 5px;
}
button.guest-btn.guest-plus{
    border-radius: 0 5px 5px 0;
}
.guest-btn:hover {
    background: rgba(157, 133, 84, 0.9);
}

.guest-btn:active {
    background: rgba(157, 133, 84, 1);
}

.guest-btn:disabled {
    background: rgba(200, 200, 200, 0.5);
    color: rgba(150, 150, 150, 0.8);
    cursor: not-allowed;
}

.guest-count-display {
    flex: 1;
    text-align: center;
    border: none;
    font-size: 20px;
    font-weight: 400;
    color: #333;
    background: rgb(255 255 255 / 66%);
    padding: 8px;
    height: 100%;
    min-width: 60px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {

.suitesync-search-form .search-submit-field {
    flex: 0 0 auto;
}

.suitesync-search-form .search-submit-btn {
    padding: 12px 30px;
    background: rgba(191, 167, 106, 0.9);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 44px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.suitesync-search-form .search-submit-btn:hover {
    background: rgba(157, 133, 84, 1);
    transform: none;
    box-shadow: none;
}

.suitesync-search-form .search-submit-btn i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .suitesync-search-form-widget {
        padding: 20px;
    }
    
    .suitesync-search-form .search-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .suitesync-search-form .search-form-field {
        width: 100%;
        min-width: 100%;
    }
    
    .suitesync-search-form .search-submit-btn {
        width: 100%;
    }
}
