/* RESET ONLY inside this dropdown */
.dropdown-menu.show li.form-style,
.dropdown-menu.show li.form-style * {
    all: unset !important;
    display: revert !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}

/* Container styling */
.dropdown-menu.show li.form-style {
    padding: 16px 20px !important;
    border-bottom: 1px solid #e7e7e7 !important;
    width: 100% !important;
}

.dropdown-menu {
    top: 100% !important;
}
/* Row layout */
.dropdown-menu.show li.form-style .pclass-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* LEFT: Label + description */
.dropdown-menu.show li.form-style .pclass-label {
    display: flex !important;
    flex-direction: column !important;
    min-width: 100px !important;
}

.dropdown-menu.show li.form-style .pclass-name {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #000 !important;
    margin: 0 !important;
}

.dropdown-menu.show li.form-style .pclass-desc {
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 3px !important;
}

/* RIGHT: Stepper group */
.dropdown-menu.show li.form-style .pclass-input {
    display: flex !important;
    align-items: center !important;
}

.dropdown-menu.show li.form-style .pclass-stepper {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Buttons */
.dropdown-menu.show li.form-style .pclass-btn {
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
    border-radius: 6px !important;
    font-size: 20px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.dropdown-menu.show li.form-style .pclass-btn:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* Number Input */
.dropdown-menu.show li.form-style .form-input-style {
    width: 48px !important;
    height: 36px !important;
    text-align: center !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 17px !important;
    padding: 0 !important;
    background: #fff !important;
    -moz-appearance: textfield !important;
}

/* Chrome number spinner removal */
.dropdown-menu.show li.form-style .form-input-style::-webkit-inner-spin-button,
.dropdown-menu.show li.form-style .form-input-style::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Remove last border */
.dropdown-menu.show li.form-style:last-child {
    border-bottom: none !important;
}

.dropdown .dropdown-arrow {
    display: none !important;
}

#dropdownMenuButton {
    width: 100% !important;
    height: auto !important;
    margin-top: -6px !important;
}

.guest-dropdown {
    margin-top: 0px !important;
    width: 49% !important;
}

.sidebar .guest-dropdown {
    width: 100% !important;
}

.sidebar .guest-dropdown #dropdownMenuButton{
    border: none !important;
}

.form-style label[for="promocode"] {
    display: none !important;
}

#promocode {
    height: 55.33px !important;
}

@media (max-width: 768px) {

    /* Only target guest dropdown OUTSIDE sidebar */
    .guest-dropdown:not(.sidebar .guest-dropdown) {
        width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }


    /* Promo code field on new line with full width */
    #promocode {
        width: 100% !important;
        display: block !important;
        height: 55.33px !important;
    }
    
    #elina-smart-element .form-style:nth-child(3) {
    width: 100%;
    }
}


.home #elina-smart-element {
    padding: 0 0px !important;
}

#elinaStartDate {
    background-image: none !important;
}

#elinaEndDate {
    background-image: none !important;

}

#elina-smart-element .form-style:nth-child(2) {
    width: auto !important;
}

/* Hover glow */
#dropdownMenuButton:hover {
    background-color: white !important;
    color: black !important;
}

/* When button is active (clicked) */
#dropdownMenuButton:active,
#dropdownMenuButton:focus,
#dropdownMenuButton[aria-expanded="true"] {
    color: black !important;
    background-color: white !important;
}
