.msl-verify-modal-layer {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1060;
}

.msl-verify-modal-layer.is-visible {
    display: flex;
}

.msl-verify-card {
    width: 410px;
    max-width: 92vw;
    border-radius: 22px;
    background: #ffffff;
    border: none;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    padding: 38px 30px 30px;
}

.msl-verify-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: transparent;
    color: #999;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, color 0.12s;
    padding: 0;
}

.msl-verify-close:hover {
    background: #f2f2f2;
    color: #333;
}

.msl-verify-icon-wrap {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7C3AED;
    box-shadow: none;
    color: #fff;
}

.msl-verify-icon-wrap svg {
    display: block;
}

.msl-verify-card h3 {
    margin: 0 0 7px;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
}

.msl-verify-desc {
    margin: 0 auto 22px;
    max-width: 100%;
    font-size: 14.5px;
    line-height: 1.5;
    color: #888;
}

.msl-verify-action {
    width: 100%;
    margin-top: 10px;
    border: 0;
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    background: #7C3AED;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.14s, transform 0.07s;
}

.msl-verify-action:active {
    transform: scale(0.985);
}

.msl-verify-action:hover {
    background: #6D28D9;
}

.msl-verify-action.is-loading {
    pointer-events: none;
}

.msl-verify-action.is-loading::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: msl-fax-spin 0.8s linear infinite;
}

@keyframes msl-fax-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.msl-sign-action {
    width: 100%;
    margin-top: 10px;
    border: 0;
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    background: #7C3AED;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.14s, transform 0.07s;
}

.msl-sign-action:active {
    transform: scale(0.985);
}

.msl-sign-action:hover {
    background: #6D28D9;
}

#mslGuestFaxChoiceOverlay .msl-verify-action {
    background: #EDE9FF;
    color: #6C5CE7;
}

#mslGuestFaxChoiceOverlay .msl-verify-action:hover {
    background: #E0D9FF;
}

.msl-verify-actions-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.msl-verify-actions-row .msl-verify-action {
    margin-top: 0;
    width: 100%;
    flex: none;
}

.msl-verify-actions-row .msl-verify-secondary-action {
    margin-top: 0;
    width: 100%;
    flex: none;
}

.msl-verify-secondary-action {
    border: 0;
    border-radius: 12px;
    padding: 14px 18px;
    background: #EDE9FF;
    color: #6C5CE7;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    flex: none;
    transition: background 0.14s, transform 0.07s;
}

.msl-verify-secondary-action:active {
    transform: scale(0.985);
}

.msl-verify-secondary-action:hover {
    background: #E0D9FF;
}

@media (max-width: 768px) {
    .msl-verify-modal-layer {
        padding: 16px;
    }

    .msl-verify-card {
        width: min(96vw, 460px);
        max-width: 96vw;
        padding: 32px 24px 24px;
    }

    .msl-verify-card h3 {
        font-size: 21px;
    }
}
