.modal-panel,
.paymanual {
    position: relative;
    padding-top: 6px;
}

.modal-panel--warning .modal-panel__content-card,
.modal-panel--warning .modal-panel__context {
    border-color: rgba(84, 159, 212, 0.18);
    background: linear-gradient(180deg, rgba(84, 159, 212, 0.10) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.modal-panel--danger .modal-panel__content-card,
.modal-panel--danger .modal-panel__context {
    border-color: rgba(212, 84, 84, 0.18);
    background: linear-gradient(180deg, rgba(212, 84, 84, 0.10) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.modal-panel__close,
.paymanual__close {
    position: absolute;
    top: -6px;
    right: -6px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    height: 26px;
    width: 26px;
    border-radius: 5px;
    margin: 10px;
    background: rgba(10, 15, 25, 0.85);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.modal-panel__close:hover,
.paymanual__close:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.modal-panel__close-icon,
.paymanual__closeIcon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.modal-panel__header,
.paymanual__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(10, 15, 25, 0.10);
    margin-bottom: 12px;
}

.modal-panel__title,
.paymanual__title {
    font-size: 18px;
    font-weight: 900;
    color: rgba(10, 15, 25, 0.92);
}

.modal-panel__subtitle,
.paymanual__subtitle {
    font-size: 13px;
    font-weight: 600;
    color: rgba(10, 15, 25, 0.60);
}

.modal-panel__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-panel__content-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(10, 15, 25, 0.08);
}

.modal-panel__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(10, 15, 25, 0.76);
}

.modal-panel__note {
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(10, 15, 25, 0.08);
    background: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.55;
    color: rgba(10, 15, 25, 0.72);
}

.modal-panel__note strong {
    color: rgba(10, 15, 25, 0.92);
}

.section-confirm.modal-panel__actions {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.submit-btn.btndpm.modal-panel__button {
    min-width: 200px;
    height: 42px;
    margin: 0;
    padding: 10px 18px;
    width: auto;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 5.5px rgba(0, 0, 0, 0.07);
    transition: all 0.2s ease;
    border: solid 1px #549fd4;
    background: #549fd4;
    color: #fff;
}

.submit-btn.btndpm.modal-panel__button:hover {
    filter: contrast(115%);
    box-shadow: 0 4px 5.5px rgba(0, 0, 0, 0.07);
}

.submit-btn.btndpm.modal-panel__button:active {
    transform: translateY(0);
}

.submit-btn.btndpm.modal-panel__button:focus-visible {
    outline: none;
}

.submit-btn.btndpm.modal-panel__button.modal-panel__button--secondary {
    border-color: rgba(10, 15, 25, 0.12);
    background: #ffffff;
    color: rgba(10, 15, 25, 0.88);
}

@media (max-width: 767px) {
    .section-confirm.modal-panel__actions {
        justify-content: stretch;
    }

    .submit-btn.btndpm.modal-panel__button {
        width: 100%;
        min-width: 0;
    }
}
