/* ==========================================
   MODERN CONFIRMATION MODAL
   Clean, minimalist design for delete confirmations
   ========================================== */

.confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.confirm-modal {
  background: linear-gradient(135deg, rgba(18, 20, 24, 0.98), rgba(24, 28, 36, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  animation: scaleIn 0.2s ease forwards;
  overflow: hidden;
}

@keyframes scaleIn {
  to { transform: scale(1); }
}

.confirm-modal__header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.confirm-modal__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
  border: 1px solid rgba(239, 68, 68, 0.3);
  flex-shrink: 0;
}

.confirm-modal__icon i {
  width: 24px;
  height: 24px;
  color: #ef4444;
}

.confirm-modal__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.confirm-modal__body {
  padding: 24px 28px;
}

.confirm-modal__message {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.confirm-modal__item-name {
  display: inline-block;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
  margin: 0 2px;
}

.confirm-modal__footer {
  padding: 20px 28px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.confirm-modal__button {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.confirm-modal__button i {
  width: 16px;
  height: 16px;
}

.confirm-modal__button--cancel {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.confirm-modal__button--cancel:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.confirm-modal__button--delete {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.confirm-modal__button--delete:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
  transform: translateY(-1px);
}

.confirm-modal__button--delete:active {
  transform: translateY(0);
}

/* Success Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10001;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.3s ease forwards;
  max-width: 400px;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-notification__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-notification__message {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.toast-notification--fadeout {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
