/* v3 공통 메시지 팝업 — kbiz standalone */
.cx1-modal-overlay.v3-msg-overlay,
#v3MsgModal.cx1-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10050 !important;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.cx1-modal-overlay.v3-msg-overlay.open,
#v3MsgModal.cx1-modal-overlay.open {
  display: flex;
}
.v3-msg-modal.cx1-modal {
  background: #fff;
  border-radius: 12px;
  width: 440px;
  max-width: 94vw;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: v3MsgModalIn 0.22s ease;
}
@keyframes v3MsgModalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.v3-msg-modal .cx1-modal-hd {
  padding: 18px 22px 14px;
  border-bottom: 2px solid #08614d;
  background: #f8fafa;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.v3-msg-modal .cx1-modal-hd-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #08614d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  color: #fff;
}
.v3-msg-modal .cx1-modal-hd-texts { flex: 1; }
.v3-msg-modal .cx1-modal-hd-texts h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.v3-msg-modal .cx1-modal-hd-texts p {
  font-size: 13px;
  color: #9ca3af;
  margin: 3px 0 0;
}
.v3-msg-modal .cx1-modal-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v3-msg-modal .cx1-modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
}
.v3-msg-modal .cx1-modal-body {
  padding: 22px;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.65;
  color: #374151;
  min-height: 48px;
}
.v3-msg-modal .cx1-modal-ft {
  padding: 14px 22px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: #fafafa;
}
.v3-msg-modal .btn-cancel {
  height: 36px;
  padding: 0 18px;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.v3-msg-modal .btn-cancel:hover { background: #f9fafb; }
.v3-msg-modal .btn-submit {
  height: 36px;
  padding: 0 22px;
  border-radius: 6px;
  background: #08614d;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.v3-msg-modal .btn-submit:hover { background: #065f46; }
.v3-msg-modal .btn-submit.danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
.v3-msg-modal .btn-submit.danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}
.v3-msg-modal.is-info .cx1-modal-hd { border-bottom-color: #2563eb; }
.v3-msg-modal.is-info .cx1-modal-hd-icon { background: #2563eb; }
.v3-msg-modal.is-success .cx1-modal-hd { border-bottom-color: #08614d; }
.v3-msg-modal.is-success .cx1-modal-hd-icon { background: #08614d; }
.v3-msg-modal.is-success .btn-submit:not(.danger) { background: #08614d; }
.v3-msg-modal.is-warning .cx1-modal-hd { border-bottom-color: #d97706; }
.v3-msg-modal.is-warning .cx1-modal-hd-icon { background: #d97706; }
.v3-msg-modal.is-error .cx1-modal-hd { border-bottom-color: #dc2626; }
.v3-msg-modal.is-error .cx1-modal-hd-icon { background: #dc2626; }
.v3-msg-modal.is-confirm .cx1-modal-hd { border-bottom-color: #4b5563; }
.v3-msg-modal.is-confirm .cx1-modal-hd-icon { background: #4b5563; }
.v3-msg-modal.is-prompt .cx1-modal-hd { border-bottom-color: #0f766e; }
.v3-msg-modal.is-prompt .cx1-modal-hd-icon { background: #0f766e; }
.v3-msg-modal .v3-msg-prompt-text {
  margin-bottom: 12px;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.65;
  color: #374151;
}
.v3-msg-modal .v3-msg-prompt-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  color: #111827;
  background: #fff;
  outline: 2px solid transparent;
}
.v3-msg-modal .v3-msg-prompt-input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
