/* Mashroat reservation form only */
.mfr-reservation-active{direction:rtl}
.mfr-reservation-active .mfr-project-hidden{display:none!important}

/* Bigger, cleaner fields */
.mfr-reservation-active .ff-el-group{margin-bottom:22px}
.mfr-reservation-active .ff-el-input--label label{font-size:15px;font-weight:600;line-height:1.6}
.mfr-reservation-active input[type="text"],
.mfr-reservation-active input[type="email"],
.mfr-reservation-active input[type="tel"],
.mfr-reservation-active input[type="number"],
.mfr-reservation-active select,
.mfr-reservation-active textarea{
    width:100%!important;
    min-height:54px!important;
    box-sizing:border-box!important;
    padding:10px 16px!important;
    font-size:16px!important;
    line-height:1.4!important;
    border-radius:8px!important;
}
.mfr-reservation-active .iti{width:100%!important}
.mfr-reservation-active .iti input{width:100%!important;min-height:54px!important}

/* Normal RTL dropdown arrow. Prevent tiny/native arrow sitting over the text. */
.mfr-reservation-active select:not([multiple]){
    -webkit-appearance:none!important;
    -moz-appearance:none!important;
    appearance:none!important;
    direction:rtl!important;
    padding-right:16px!important;
    padding-left:46px!important;
    background-repeat:no-repeat!important;
    background-position:left 16px center!important;
    background-size:12px 8px!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23666' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.mfr-reservation-active select::-ms-expand{display:none}
.mfr-reservation-active select:disabled{opacity:.65;cursor:not-allowed}

/* Unit status */
.mfr-unit-status{margin-top:8px;font-size:13px;line-height:1.6}
.mfr-loading{opacity:.75}
.mfr-warning{font-weight:600}
.mfr-error{font-weight:600}

/* Declaration text + consent card */

.mfr-reservation-active .mfr-declaration-text{
    margin:12px 0 14px!important;
    padding:20px 22px!important;
    border:1px solid rgba(0,0,0,.12)!important;
    border-radius:10px!important;
    background:#fafafa!important;
    font-size:16px!important;
    line-height:2!important;
    text-align:right!important;
}
.mfr-reservation-active .mfr-declaration-text p{
    margin:0 0 14px!important;
}
.mfr-reservation-active .mfr-declaration-text p:last-child{
    margin-bottom:0!important;
}
.mfr-reservation-active .mfr-declaration-checkbox{
    margin-top:6px!important;
    padding:18px 20px!important;
    border:1px solid rgba(0,0,0,.12)!important;
    border-radius:10px!important;
    background:#fff!important;
}

/* Override aggressive theme rules that stretch checkboxes to full width */
.mfr-reservation-active .mfr-declaration-checkbox input[type="checkbox"],
.mfr-reservation-active input.mfr-consent-input{
    -webkit-appearance:auto!important;
    appearance:auto!important;
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    min-height:21px!important;
    max-width:21px!important;
    padding:0!important;
    margin:2px 0 0 10px!important;
    border-radius:4px!important;
    display:inline-block!important;
    vertical-align:top!important;
    box-shadow:none!important;
    background-image:none!important;
}
.mfr-reservation-active .mfr-declaration-checkbox .ff-el-form-check,
.mfr-reservation-active .mfr-declaration-checkbox .ff-el-form-check-label{
    display:flex!important;
    align-items:flex-start!important;
    gap:10px!important;
    width:100%!important;
}
.mfr-reservation-active .mfr-declaration-checkbox .ff-el-form-check-label,
.mfr-reservation-active .mfr-declaration-checkbox label{
    font-size:16px!important;
    line-height:1.8!important;
    font-weight:600!important;
    cursor:pointer!important;
}

.mfr-reservation-active .mfr-submit-btn,
.mfr-reservation-active button[type="submit"]{
    min-height:50px;
    padding:12px 28px!important;
    font-size:16px!important;
    border-radius:8px!important;
}

@media (max-width:767px){
    .mfr-reservation-active input[type="text"],
    .mfr-reservation-active input[type="email"],
    .mfr-reservation-active input[type="tel"],
    .mfr-reservation-active input[type="number"],
    .mfr-reservation-active select,
    .mfr-reservation-active textarea{min-height:52px!important;font-size:16px!important}
    .mfr-reservation-active .mfr-declaration-checkbox{padding:15px!important}
}
