.sub[name="promptpay"] {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgb(255 255 255);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
}

/* #region manage */

.sub[name="promptpay"] .child[name="manage"] {
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
}

.sub[name="promptpay"] .child[name="manage"] .headText {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0 40px 0;
}

.sub[name="promptpay"] .child[name="manage"] .headText span {
    color: #32ADE6;
    font-size: 28px;
}

.sub[name="promptpay"] .child[name="manage"] .field {
    width: 80%;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    margin: 0 0 15px 0;
}

.sub[name="promptpay"] .child[name="manage"] .field .text {
    font-size: 16px;
    /* font-weight: bold; */
}

.sub[name="promptpay"] .child[name="manage"] .field .input {
    width: -webkit-fill-available;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    column-gap: 10px;
    border: solid 1px #D9D9D9;
    border-radius: 10px;
    background-color: #F2F2F7;
}

.sub[name="promptpay"] .child[name="manage"] .field .error {
    font-size: 14px;
    color: red;
    display: none;
}

.sub[name="promptpay"] .child[name="manage"] .field[status="error"] .error {
    font-size: 14px;
    color: red;
    display: unset;
}

.sub[name="promptpay"] .child[name="manage"] .field[status="error"] .input {
    border-color: red;
}

.sub[name="promptpay"] .child[name="manage"] .field .input span {
    font-variation-settings: 'FILL' 1;
    color: rgb(0 0 0 / 60%);
}

.sub[name="promptpay"] .child[name="manage"] .field .input input {
    width: 100%;
    font-size: 16px;
    border: none;
    background: transparent;
    line-height: 1.6;
}

.sub[name="promptpay"] .child[name="manage"] button[name="save"] {
    width: 80%;
    max-width: 390px;
    height: 45px;
    min-height: 45px;
    border: none;
    background-color: #32ADE6;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.sub[name="promptpay"] .child[name="manage"] button[name="cancel"] {
    width: 80%;
    max-width: 390px;
    height: 45px;
    min-height: 45px;
    border: none;
    background-color: #E5E5EA;
    color: black;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0 5px 0;
}

/* #endregion manage */

/* #region ยืนยันรหัส OTP */

.sub[name="promptpay"] .child[name="otp"] {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sub[name="promptpay"] .child[name="otp"] .headText {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.sub[name="promptpay"] .child[name="otp"] .des {
    margin: 10px 0 30px 0;
    font-size: 16px;
    color: #787878;
}

.sub[name="promptpay"] .child[name="otp"] .des span {

    font-weight: bold;

    color: black;
}

.sub[name="promptpay"] .child[name="otp"] .headText span {
    color: black;
    font-size: 24px;
}

.sub[name="promptpay"] .child[name="otp"] .field {
    width: 80%;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    margin: 0 0 30px 0;
}

.sub[name="promptpay"] .child[name="otp"] .field .text {
    font-size: 16px;
}

.sub[name="promptpay"] .child[name="otp"] .field .text span {
    font-weight: bold;
    color: #32ADE6;
}

.sub[name="promptpay"] .child[name="otp"] .field button[name="again"] {
    border: none;
    background: transparent;
    text-align: left;
    font-size: 16px;
    color: #32ADE6;
    margin: 0 0 5px 0;
}

.sub[name="promptpay"] .child[name="otp"] .field .input {
    width: -webkit-fill-available;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    column-gap: 10px;
    border: solid 1px #D9D9D9;
    border-radius: 10px;
    background-color: #F2F2F7;
}

.sub[name="promptpay"] .child[name="otp"] .field .error {
    font-size: 14px;
    color: red;
    display: none;
}

.sub[name="promptpay"] .child[name="otp"] .field[status="error"] .error {
    font-size: 14px;
    color: red;
    display: unset;
}

.sub[name="promptpay"] .child[name="otp"] .field[status="error"] .input {
    border-color: red;
}

.sub[name="promptpay"] .child[name="otp"] .field .input span {
    font-variation-settings: 'FILL' 1;
    color: rgb(0 0 0 / 60%);
}

.sub[name="promptpay"] .child[name="otp"] .field .input input {
    width: 100%;
    font-size: 16px;
    border: none;
    background: transparent;
    text-align: center;
}

.sub[name="promptpay"] .child[name="otp"] button[name="confirm"] {
    width: 80%;
    max-width: 390px;
    height: 45px;
    min-height: 45px;
    border: none;
    background-color: #32ADE6;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 10px 0;
}

.sub[name="promptpay"] .child[name="otp"] button[name="cancel"] {
    width: 80%;
    max-width: 390px;
    height: 45px;
    min-height: 45px;
    border: none;
    background-color: #E5E5EA;
    color: black;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0 5px 0;
}

/* #endregion ยืนยันรหัส OTP */