/* Custom toast and confirm modal - matches site theme */
.notify-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 90vw;
}

.notify-toast {
  pointer-events: auto;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(13, 46, 30, 0.18);
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: notify-slide-in 0.3s ease;
  min-width: 280px;
  max-width: 420px;
}

.notify-toast.success {
  background: linear-gradient(135deg, #e8f5ee 0%, #c8e6c9 100%);
  color: var(--text-dark, #0d2e1e);
  border: 1px solid rgba(13, 46, 30, 0.15);
}

.notify-toast.error {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
  color: #b71c1c;
  border: 1px solid rgba(183, 28, 28, 0.2);
}

.notify-toast.info {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #0d47a1;
  border: 1px solid rgba(13, 71, 161, 0.2);
}

.notify-toast .notify-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.notify-toast .notify-message {
  flex: 1;
}

@keyframes notify-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notify-toast.hiding {
  animation: notify-slide-out 0.25s ease forwards;
}

@keyframes notify-slide-out {
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Confirm modal overlay */
.notify-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 46, 30, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: notify-fade-in 0.2s ease;
}

@keyframes notify-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.notify-modal {
  background: var(--pure-white, #fff);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(13, 46, 30, 0.25);
  padding: 24px 28px;
  max-width: 420px;
  width: 100%;
  font-family: "Poppins", sans-serif;
  animation: notify-scale-in 0.25s ease;
}

@keyframes notify-scale-in {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.notify-modal-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark, #0d2e1e);
}

.notify-modal-message {
  margin: 0 0 22px;
  font-size: 0.95rem;
  color: var(--text-light, #666);
  line-height: 1.5;
}

.notify-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.notify-modal-actions button {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
}

.notify-modal-actions button:active {
  transform: scale(0.98);
}

.notify-modal-btn-cancel {
  background: var(--light-gray, #f5f5f5);
  color: var(--text-dark, #0d2e1e);
}

.notify-modal-btn-cancel:hover {
  background: #e8e8e8;
}

.notify-modal-btn-confirm {
  background: var(--primary-green, #0d2e1e);
  color: var(--pure-white, #fff);
}

.notify-modal-btn-confirm:hover {
  background: var(--secondary-green, #13452a);
}

.notify-modal-btn-confirm.danger {
  background: #b71c1c;
}

.notify-modal-btn-confirm.danger:hover {
  background: #8b0000;
}
