/* Mark input boxes that gets an error on validation: */
input.invalid {
    background-color: #ffdddd;
}

/* Hide all steps by default: */
.tab {
    display: none;
}

/* Step bullets with fluid connectors between them */
.register-block-tooltip > .d-flex {
    width: 100%;
    align-items: center;
}

.step {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    position: relative;
    width: auto;
    min-width: 1.5rem;
    height: 1.5rem;
    margin: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.step:before {
    content: "";
    flex: 0 0 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #E8E8E8;
}

.step:after {
    content: "";
    flex: 1 1 auto;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    min-width: 0;
    height: 2px;
    margin: 0 0.35rem;
    background-color: #E8E8E8;
}

.step:last-of-type {
    flex: 0 0 1.5rem;
    width: 1.5rem;
}

.step:last-of-type:after {
    display: none;
}

.step.active,
.step.finish {
    background-color: transparent;
}

.step.active:before,
.step.finish:before {
    background-color: #8DC6E8;
}

.step.finish:after {
    background-color: #8DC6E8;
}
/*input.form-control {*/
/*    text-align: left;*/
/*}*/
.input-group-prepend {
    border: 1px solid rgba(20, 20, 20, 0.17);
    background: var(--gradientx-transparent, linear-gradient(to bottom right, rgba(20, 20, 20, 0.00) 20%, rgba(20, 20, 20, 0.03) 50%) bottom right / 50% 50% no-repeat, linear-gradient(to bottom left, rgba(20, 20, 20, 0.00) 20%, rgba(20, 20, 20, 0.03) 50%) bottom left / 50% 50% no-repeat, linear-gradient(to top left, rgba(20, 20, 20, 0.00) 20%, rgba(20, 20, 20, 0.03) 50%) top left / 50% 50% no-repeat, linear-gradient(to top right, rgba(20, 20, 20, 0.00) 20%, rgba(20, 20, 20, 0.03) 50%) top right / 50% 50% no-repeat);
}
.input-group-prepend span {
    background-color: transparent;
    border: none;
    padding: 1rem;
}

.remember {
    margin: 2rem 2rem;
}

.contact--info .confirmation {
    margin-bottom: 20px;
}

/* Register modal: overlay stays full-screen, dialog is constrained and responsive */
#register--modal.register-modal-lg {
    padding: 0.75rem;
}

#register--modal.register-modal-lg .modal-dialog.modal-xl {
    width: auto;
    max-width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
}

#register--modal.register-modal-lg .modal-content {
    width: 100%;
    max-height: calc(100vh - 1.5rem);
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(5, 66, 104, 0.18);
}

#register--modal.register-modal-lg .modal-body {
    max-height: calc(100vh - 7.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#register--modal.register-modal-lg .modal-body .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

#register--modal.register-modal-lg .step:after {
    position: static;
    width: auto;
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    #register--modal.register-modal-lg .modal-dialog.modal-xl {
        max-width: 720px;
        margin: 1.25rem auto;
    }
}

@media (min-width: 992px) {
    #register--modal.register-modal-lg .modal-dialog.modal-xl {
        max-width: 960px;
        margin: 1.5rem auto;
    }

    #register--modal.register-modal-lg .modal-content {
        max-height: calc(100vh - 3rem);
    }
}

@media (min-width: 1200px) {
    #register--modal.register-modal-lg .modal-dialog.modal-xl {
        max-width: 1080px;
    }
}

@media (max-width: 575px) {
    #register--modal.register-modal-lg {
        padding: 0.5rem;
    }

    #register--modal.register-modal-lg .modal-dialog.modal-xl {
        max-width: 100%;
        margin: 0.5rem auto;
    }

    #register--modal.register-modal-lg .modal-content {
        border-radius: 10px;
        max-height: calc(100vh - 1rem);
    }

    #register--modal.register-modal-lg .modal-header {
        padding: 0.75rem 1rem;
    }

    #register--modal.register-modal-lg .modal-header img {
        max-height: 40px;
        width: auto;
    }

    #register--modal.register-modal-lg .modal-body {
        padding: 0.75rem 0.25rem 1.25rem;
        max-height: calc(100vh - 6.5rem);
    }
}

.muhide-wathq-message {
    display: none;
    width: 100%;
    margin: 16px 0 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
}

.muhide-wathq-message.is-visible {
    display: block !important;
}

.muhide-wathq-message.is-success {
    background: #e8f6ef;
    color: #0f6b3e;
    border: 1px solid #b7e0c8;
}

.muhide-wathq-message.is-warning {
    background: #fff6e5;
    color: #8a5a00;
    border: 1px solid #f3d7a0;
}

.muhide-disclaimer {
    width: 100%;
    margin: 16px 0 8px;
    padding: 16px 18px;
    border-radius: 8px;
    background: #f4f7fb;
    border: 1px solid #d5e0ee;
    color: #1d3557;
    line-height: 1.7;
    box-sizing: border-box;
}

.muhide-disclaimer h3,
.muhide-disclaimer h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.muhide-disclaimer p {
    margin: 0 0 8px;
}

.muhide-disclaimer p:last-child {
    margin-bottom: 0;
}

#nextBtn.muhide-busy {
    opacity: 0.7;
    pointer-events: none;
}

.muhide-signatory-wrapper .input-group-prepend,
#muhide-signatory-contact-fields .input-group-prepend {
    width: 100%;
}

#authorized_person_select {
    min-height: 38px;
}