﻿.pcgd-msg-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, .48);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pcgd-msg-overlay.d-none { display: none !important; }

.pcgd-msg-box {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    padding: 24px;
    display: flex;
    gap: 18px;
    animation: pcgdMsgIn .16s ease-out;
}

.pcgd-msg-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    background: #e7f1ff;
    color: #0d6efd;
}

.pcgd-msg-box.success .pcgd-msg-icon { background: #d1e7dd; color: #198754; }
.pcgd-msg-box.error .pcgd-msg-icon { background: #f8d7da; color: #dc3545; }
.pcgd-msg-box.warning .pcgd-msg-icon,
.pcgd-msg-box.confirm .pcgd-msg-icon { background: #fff3cd; color: #997404; }

.pcgd-msg-content { flex: 1; min-width: 0; }
.pcgd-msg-title { font-size: 1.12rem; font-weight: 700; margin: 2px 0 8px; }
.pcgd-msg-text { color: #475569; white-space: pre-line; line-height: 1.55; }
.pcgd-msg-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

@keyframes pcgdMsgIn {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: none; }
}
