.sp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}
.sp-modal--open {
    display: block;
}
body.sp-modal-open {
    overflow: hidden;
}
.sp-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.sp-modal__dialog {
    position: relative;
    max-width: 480px;
    margin: 60px auto;
    background: #fff;
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.sp-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #999;
}
.sp-modal__close:hover {
    color: #333;
}
.sp-modal__title {
    font-size: 22px;
    margin: 0 0 20px 0;
    font-weight: 600;
}
.sp-modal__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}
.sp-modal__row--big {
    font-size: 18px;
    padding: 14px 0;
    border-top: 1px solid #eee;
    margin-top: 8px;
}
.sp-modal__row--warn {
    color: #d9534f;
    font-size: 14px;
    padding: 6px 0 14px;
}
.sp-modal__sep {
    border: none;
    border-top: 1px solid #eee;
    margin: 16px 0;
}
.sp-modal__btn-confirm,
.sp-modal__btn-topup,
.sp-modal__btn-ok {
    margin-top: 20px;
}
.sp-modal__processing {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 16px;
}
.sp-modal__success,
.sp-modal__error {
    text-align: center;
}
.sp-modal__icon-success {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    font-size: 36px;
    line-height: 64px;
    text-align: center;
}
