/* iMart classic confirm modal — navy + red, assurance before delete/clear */
.imart-confirm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.85);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: imart-fade-in 0.15s ease;
}
.imart-confirm-box {
  background: #0f1e35;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  min-width: 320px;
  max-width: 420px;
  padding: 1.5rem;
  animation: imart-scale-in 0.2s ease;
}
[data-bs-theme="light"] .imart-confirm-backdrop {
  background: rgba(10, 22, 40, 0.5);
}
[data-bs-theme="light"] .imart-confirm-box {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.imart-confirm-title {
  font-family: Inter, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #c8dff0;
  margin: 0 0 0.5rem 0;
}
[data-bs-theme="light"] .imart-confirm-title {
  color: #0a1628;
}
.imart-confirm-message {
  font-family: Inter, sans-serif;
  font-size: 0.9375rem;
  color: rgba(200, 223, 240, 0.9);
  margin: 0 0 1.25rem 0;
  line-height: 1.5;
}
[data-bs-theme="light"] .imart-confirm-message {
  color: #4a6a90;
}
.imart-confirm-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.imart-confirm-btn {
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.imart-confirm-btn--cancel {
  background: rgba(255, 255, 255, 0.08);
  color: #c8dff0;
  border-color: rgba(255, 255, 255, 0.12);
}
.imart-confirm-btn--cancel:hover {
  background: rgba(255, 255, 255, 0.12);
}
[data-bs-theme="light"] .imart-confirm-btn--cancel {
  background: #e8eef5;
  color: #0a1628;
  border-color: rgba(0, 0, 0, 0.1);
}
[data-bs-theme="light"] .imart-confirm-btn--cancel:hover {
  background: #dde4ec;
}
.imart-confirm-btn--danger {
  background: #cc2229;
  color: #fff;
}
.imart-confirm-btn--danger:hover {
  background: #e02830;
}
@keyframes imart-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes imart-scale-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
