﻿.kzhk-flow-modal .modal-dialog {
    max-width: 890px !important;
}

#kzhkInitiateButton {
    border: none;
    color: #FFF;
    text-align: center;
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    width: 100%;
    display: flex;
    height: 48px;
    padding: 8px 20px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 6px;
    background: #008F91;
}

.kzhk-flow-modal .modal-content {
    min-height: 640px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0, 16, 39, 0.17);
    overflow: hidden;
    font-family: Ubuntu, sans-serif;
}

.kzhk-flow-modal .modal-header,
.kzhk-flow-modal .modal-footer {
    padding: 30px;
    border: 0;
}

.kzhk-flow-modal .modal-header {
    align-items: flex-start;
}

.kzhk-modal-title {
    margin: 0 0 8px;
    color: #272728;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.kzhk-modal-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: #838386;
    font-size: 14px;
    line-height: 20px;
}

.kzhk-modal-step-active {
    color: #272728;
    text-decoration: underline;
}

.kzhk-modal-arrow {
    color: #838386;
}

    .kzhk-modal-step-completed,
    .kzhk-modal-arrow.kzhk-modal-arrow-completed {
        color: #0E7D7D;
    }

.kzhk-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .kzhk-modal-close img {
        width: 14px;
        height: 14px;
    }

.kzhk-modal-separator {
    height: 1px;
    margin: 0 30px;
    background: #d7d7d8;
}

.kzhk-flow-modal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.kzhk-info-banner {
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    background: #E7F5EE;
    color: #333839;
}

.kzhk-info-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.kzhk-info-title {
    margin: 0 0 10px;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.kzhk-info-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.kzhk-flow-modal .modal-footer {
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.kzhk-repeat-button,
.kzhk-confirm-button {
    min-height: 48px;
    padding: 6px 20px;
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    line-height: 22px;
}

.kzhk-repeat-button {
    background: #FFFFFF;
    color: #838386;
}

.kzhk-confirm-button {
    background: #0E7D7D;
    color: #FFFFFF;
}

.kzhk-email-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.kzhk-email-label {
    margin: 0;
    color: #272728;
    font-size: 16px;
    line-height: 22px;
}

.kzhk-email-input {
    width: 300px;
    height: 42px;
    padding: 10px 12px;
    border: 1px solid #E1E2E2;
    border-radius: 8px;
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

    .kzhk-email-input::placeholder {
        color: #838386;
    }

.kzhk-email-hint {
    margin: 0;
    color: #838386;
    font-size: 14px;
    line-height: 1.4;
}

.kzhk-sign-content {
    width: 100%;
    padding: 10px;
    background: #FFFFFF;
}

.kzhk-sign-text {
    margin: 0;
    color: #272728;
    font-size: 14px;
    line-height: 20px;
}

.kzhk-sms-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    text-align: center;
}

.kzhk-sms-label {
    margin: 0;
    color: #272728;
    font-size: 14px;
    line-height: 1.4;
}

.kzhk-sms-input {
    width: 168px;
    height: 42px;
    padding: 10px 12px;
    border: 1px solid #E1E2E2;
    border-radius: 8px;
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

    .kzhk-sms-input::placeholder {
        color: #838386;
    }

.kzhk-sms-hint {
    margin: 0;
    color: #838386;
    font-size: 14px;
    line-height: 1.4;
}

.kzhk-success-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    width: 384px;
    max-width: 100%;
    color: #272728;
    text-align: center;
}

.kzhk-success-title {
    margin: 0;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 18px;
    line-height: 25px;
}

.kzhk-success-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
}

.kzhk-success-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

    .kzhk-success-text span {
        color: #0E7D7D;
        font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    }

.kzhk-representative-iin-modal .modal-dialog {
    max-width: 640px;
}

.kzhk-representative-iin-modal .modal-content {
    min-height: 370px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 20px 30px rgba(27, 35, 48, 0.25);
    overflow: hidden;
    font-family: Ubuntu, sans-serif;
}

.kzhk-representative-iin-modal .modal-header {
    align-items: flex-start;
    padding: 30px 30px 20px;
    border: 0;
}

.kzhk-representative-iin-title {
    width: 366px;
    margin: 0;
    color: #333839;
    font-family: Ubuntu-Medium, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.kzhk-representative-iin-modal .modal-body {
    padding: 0 30px;
}

.kzhk-representative-iin-input {
    width: 290px;
    height: 58px;
    padding: 8px 12px;
    border: 1px solid #E1E2E2;
    border-radius: 12px;
    color: #333839;
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

    .kzhk-representative-iin-input::placeholder {
        color: #838386;
    }

.kzhk-representative-iin-modal .modal-footer {
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px;
    border: 0;
}

.kzhk-representative-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 6px 0;
    cursor: pointer;
}

.kzhk-representative-checkbox-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.kzhk-representative-checkbox-box {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border: 1.5px solid #0E7D7D;
    border-radius: 6px;
    background: #FFFFFF;
}

.kzhk-representative-checkbox-input:checked + .kzhk-representative-checkbox-box {
    background: #0E7D7D;
}

    .kzhk-representative-checkbox-input:checked + .kzhk-representative-checkbox-box::after {
        content: "";
        position: absolute;
        left: 7px;
        top: 4px;
        width: 8px;
        height: 12px;
        border: solid #FFFFFF;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.kzhk-representative-checkbox-text {
    color: #272728;
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 22px;
}

@media (max-width: 767px) {
    .kzhk-flow-modal .modal-content {
        min-height: auto;
    }

    .kzhk-flow-modal .modal-header,
    .kzhk-flow-modal .modal-footer,
    .kzhk-flow-modal .modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .kzhk-modal-separator {
        margin: 0 20px;
    }

    .kzhk-flow-modal .modal-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .kzhk-email-input {
        width: 100%;
    }
}
