#modal-custom .customer-onboarding-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 20px 24px 0;
}

#modal-custom .customer-onboarding-step {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #7a838b;
    font-size: 12px;
    font-weight: 600;
}

#modal-custom .customer-onboarding-step-number {
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid #d5dce2;
    border-radius: 50%;
    background: #fff;
    color: #69747d;
    font-size: 11px;
}

#modal-custom .customer-onboarding-step.is-active {
    color: #18364c;
}

#modal-custom .customer-onboarding-step.is-active .customer-onboarding-step-number,
#modal-custom .customer-onboarding-step.is-complete .customer-onboarding-step-number {
    border-color: #0e7dd1;
    background: #0e7dd1;
    color: #fff;
}

#modal-custom .customer-onboarding-content {
    padding: 22px 28px 8px;
}

#modal-custom .customer-onboarding-heading {
    margin-bottom: 22px;
}

#modal-custom .customer-onboarding-kicker {
    margin: 0 0 6px;
    color: #0e7dd1;
    font-size: 11px;
    font-weight: 700;
}

#modal-custom .customer-onboarding-heading h3 {
    margin: 0 0 7px;
    color: #1d2b36;
    font-size: 21px;
    font-weight: 700;
}

#modal-custom .customer-onboarding-heading p:last-child {
    margin: 0;
    color: #66737e;
    font-size: 14px;
    line-height: 1.5;
}

#modal-custom .customer-onboarding-heading strong {
    color: #263b4b;
    overflow-wrap: anywhere;
}

#modal-custom .customer-onboarding-label {
    display: block;
    margin: 14px 0 7px;
    color: #354550;
    font-size: 13px;
    font-weight: 600;
}

#modal-custom .customer-onboarding-phone-field,
#modal-custom .customer-onboarding-phone-field .intl-tel-input {
    width: 100%;
}

#modal-custom .customer-onboarding-phone-field .intl-tel-input {
    display: block;
}

#modal-custom .customer-onboarding-phone-field .form-input,
#modal-custom .customer-onboarding-field {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px !important;
    border: 1px solid #cfd7de;
    border-radius: 5px;
    background: #fff;
    color: #22313c;
    font-size: 15px;
    box-shadow: none;
}

#modal-custom .customer-onboarding-phone-field .form-input {
    padding-left: 100px !important;
}

#modal-custom .customer-onboarding-phone-field .form-input:focus,
#modal-custom .customer-onboarding-field:focus,
#modal-custom .customer-onboarding-otp:focus {
    border-color: #0e7dd1;
    outline: 2px solid rgba(14, 125, 209, 0.14);
}

#modal-custom .customer-onboarding-otp {
    width: 100%;
    max-width: 260px;
    min-height: 56px;
    padding: 10px 14px;
    border: 1px solid #cfd7de;
    border-radius: 5px;
    color: #18364c;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
}

#modal-custom .customer-onboarding-resend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    color: #66737e;
    font-size: 13px;
}

#modal-custom .customer-onboarding-resend button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #0e7dd1;
    font-weight: 700;
}

#modal-custom .customer-onboarding-resend button:disabled {
    color: #77838c;
    cursor: wait;
}

#modal-custom .customer-onboarding-message {
    min-height: 20px;
    margin-top: 10px;
    color: #4f6876;
    font-size: 13px;
}

#modal-custom .customer-onboarding-error {
    min-height: 0;
    margin-top: 8px;
    color: #b42318;
    font-size: 13px;
    line-height: 1.4;
}

#modal-custom .customer-onboarding-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 28px 24px;
    background: transparent !important;
}

#modal-custom .customer-onboarding-actions button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

#modal-custom .customer-onboarding-actions .customer-onboarding-secondary {
    border-color: #cfd7de;
    background: #fff;
    color: #354550;
}

#modal-custom .customer-onboarding-actions .customer-onboarding-primary {
    flex: 1;
    background: #0e7dd1;
    color: #fff;
}

#modal-custom .customer-onboarding-actions button:disabled {
    opacity: 0.65;
    cursor: wait;
}

#modal-custom .customer-login-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 20px 28px 0;
    padding: 4px;
    border-radius: 5px;
    background: #edf1f4;
}

#modal-custom .customer-login-mode button {
    min-height: 38px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #586772;
    font-size: 14px;
    font-weight: 600;
}

#modal-custom .customer-login-mode button.is-active {
    background: #fff;
    color: #18364c;
    box-shadow: 0 1px 3px rgba(20, 42, 58, 0.14);
}

#modal-custom #login-mobile-group,
#modal-custom #login-email-group {
    margin: 0 28px 16px;
}

#modal-custom #login-mobile-group .customer-onboarding-label,
#modal-custom #login-email-group .customer-onboarding-label {
    margin-top: 15px;
}

#modal-custom #login-mobile-group .form-control,
#modal-custom #login-email-group .form-control,
#modal-custom #login_form input[name="password"] {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #cfd7de;
    border-radius: 5px;
    background: #fff;
    color: #22313c;
    font-size: 15px;
    box-shadow: none;
}

#modal-custom #login-mobile-group .intl-tel-input {
    display: block;
    width: 100%;
}

#modal-custom #login-mobile-group .form-control {
    padding-left: 100px;
}

#modal-custom #login_form > .input-group {
    display: block;
    margin: 0 28px 16px;
}

#modal-custom #login_form .mb-4 {
    margin: 0 28px 16px !important;
}

#modal-custom #login_form > footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 28px 24px;
    background: transparent !important;
}

#modal-custom #login_form > footer button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #cfd7de;
    border-radius: 5px;
    background: #fff;
    color: #354550;
    font-size: 14px;
    font-weight: 600;
}

#modal-custom #login_form > footer button[type="submit"] {
    flex: 1;
    border-color: transparent;
    background: #0e7dd1;
    color: #fff;
}

.darkmode--activated #modal-custom .customer-onboarding-heading h3,
.darkmode--activated #modal-custom .customer-onboarding-heading strong,
.darkmode--activated #modal-custom .customer-onboarding-label {
    color: #f2f5f7;
}

.darkmode--activated #modal-custom .customer-onboarding-phone-field .form-input,
.darkmode--activated #modal-custom .customer-onboarding-field,
.darkmode--activated #modal-custom .customer-onboarding-otp {
    border-color: #46515a;
    background: #1d252b;
    color: #f2f5f7;
}

@media (max-width: 480px) {
    #modal-custom .customer-onboarding-progress {
        gap: 4px;
        padding: 16px 16px 0;
    }

    #modal-custom .customer-onboarding-step {
        gap: 5px;
        font-size: 11px;
    }

    #modal-custom .customer-onboarding-step-number {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
    }

    #modal-custom .customer-onboarding-content {
        padding: 18px 18px 8px;
    }

    #modal-custom .customer-onboarding-actions {
        padding: 12px 18px 20px;
    }

    #modal-custom .customer-login-mode {
        margin: 16px 18px 0;
    }

    #modal-custom #login-mobile-group,
    #modal-custom #login-email-group,
    #modal-custom #login_form > .input-group,
    #modal-custom #login_form .mb-4 {
        margin-right: 18px;
        margin-left: 18px;
    }

    #modal-custom #login_form > footer {
        padding: 12px 18px 20px;
    }
}