.persis-mail-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(12, 22, 38, 0.50);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

.persis-mail-box {
    position: relative;
    width: 100%;
    max-width: 470px;
    max-height: 94vh;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #d8e0ea;
    border-radius: 16px;
    padding: 24px 28px 24px;
    box-sizing: border-box;
    box-shadow: 0 22px 60px rgba(7, 20, 39, 0.26);
    color: #1d2b3e;
    text-align: center;
}

.persis-mail-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #eef3f8;
    color: #58697d;
    font-size: 22px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}

    .persis-mail-close:hover {
        background: #dde6ef;
        color: #32475b;
    }

.persis-mail-logo-area {
    margin: 4px 0 14px;
}

.persis-mail-logo {
    max-width: 240px;
    width: 100%;
    height: auto;
}

.persis-mail-title {
    display: block;
    margin: 0;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;
    color: #24415f;
}

.persis-mail-subtitle {
    display: block;
    margin: 5px 0 16px;
    color: #7b8898;
    font-size: 11px;
}

.persis-mail-email {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #087e98;
    overflow-wrap: anywhere;
    margin-bottom: 14px;
}

.persis-mail-info-box {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #e5edf4;
    background: #f7fafc;
    border-radius: 10px;
}

.persis-mail-description {
    display: block;
    color: #4f6277;
    font-size: 13px;
    line-height: 1.55;
}

.persis-mail-description-en {
    display: block;
    margin-top: 4px;
    font-size: 10.5px;
    line-height: 1.55;
    color: #8a96a6;
}

.persis-mail-input {
    width: 100%;
    height: 54px;
    margin-top: 4px;
    padding: 0 12px;
    border: 1px solid #c9d6e2;
    border-radius: 10px;
    box-sizing: border-box;
    background: #fbfdff;
    color: #18324a;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 10px;
    text-align: center;
    outline: none;
}

    .persis-mail-input:focus {
        border-color: #0a92b0;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(10, 146, 176, 0.12);
    }

.persis-mail-timer {
    margin: 15px 0 14px;
    padding: 12px;
    border-radius: 10px;
    background: #f3f7fb;
    font-size: 12px;
    color: #536476;
}

    .persis-mail-timer strong {
        color: #087e98;
        font-size: 20px;
        margin-left: 8px;
    }

.persis-mail-timer-en {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: #8f99a8;
}

.persis-mail-warning {
    display: block;
    margin: 10px 0 2px;
    color: #b42318;
    font-size: 12px;
    line-height: 1.5;
}

.persis-mail-warning-en {
    margin-top: 2px;
    margin-bottom: 8px;
}

.persis-mail-expired {
    display: none;
    margin: 10px 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff4f2;
    color: #b42318;
    font-size: 12px;
    line-height: 1.5;
}

.persis-mail-button {
    width: 100%;
    min-height: 45px;
    padding: 11px 12px;
    border: none;
    border-radius: 9px;
    background: #087fa5;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

    .persis-mail-button:hover {
        background: #066f90;
    }

.persis-mail-resend {
    background: #355e8f;
    display: none;
    margin-top: 10px;
}

    .persis-mail-resend:hover {
        background: #2d517c;
    }

.persis-mail-footnote {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e8edf3;
    color: #738194;
    font-size: 10.5px;
    line-height: 1.55;
}

@media (max-width: 480px) {
    .persis-mail-box {
        padding: 22px 18px 20px;
        max-width: 100%;
    }

    .persis-mail-logo {
        max-width: 200px;
    }

    .persis-mail-title {
        font-size: 20px;
    }

    .persis-mail-input {
        font-size: 24px;
        letter-spacing: 8px;
    }
}
