/* =========================================================
   CAIXA DE CONFIRMAÇÃO DE EXCLUSÃO
========================================================= */
.confirm-danger-modal{ display: none; }
.confirm-danger-modal.show{
  display: flex; position: fixed; inset: 0; z-index: 1200;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(16, 23, 36, .55);
  animation: cd-fade .15s ease;
}
@keyframes cd-fade{ from{ opacity: 0; } to{ opacity: 1; } }

.cd-box{
  width: 100%; max-width: 460px;
  background: var(--paper-raised, #fff);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  overflow: hidden;
  animation: cd-rise .18s cubic-bezier(.22, 1, .36, 1);
}
@keyframes cd-rise{ from{ transform: translateY(10px); opacity: 0; } to{ transform: translateY(0); opacity: 1; } }

.cd-head{
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px 14px;
  background: linear-gradient(135deg, #B91C1C 0%, #DC2626 100%);
  color: #fff;
}
.cd-icon{ display: inline-flex; flex-shrink: 0; }
.cd-head h3{ margin: 0; font-size: 16.5px; font-weight: 700; color: #fff; }

.cd-body{ padding: 18px 20px 4px; }
.cd-message{ margin: 0 0 8px; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.cd-detail{
  margin: 0 0 12px; font-size: 13px; color: var(--ink-soft);
  background: var(--paper); border-radius: 8px; padding: 10px 12px;
  line-height: 1.5;
}
.cd-warning{
  margin: 0 0 4px; font-size: 13px; line-height: 1.5;
  color: #7F1D1D; background: #FEE2E2;
  border-left: 3px solid #DC2626; border-radius: 6px;
  padding: 10px 12px;
}

.cd-actions{
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 20px 18px;
}
.cd-confirm-btn{
  background: #DC2626 !important; color: #fff !important;
  border: 1px solid #B91C1C !important; font-weight: 700;
}
.cd-confirm-btn:hover{ background: #B91C1C !important; }
.cd-confirm-btn:focus-visible{ outline: 3px solid rgba(220, 38, 38, .35); outline-offset: 2px; }

@media (max-width: 480px){
  .cd-actions{ flex-direction: column-reverse; }
  .cd-actions .btn{ width: 100%; }
}
