/* ========== XECUTE — css/05-quickactions-toast-recovery.css ========== */
/* Quick actions panel, toasts, recovery notification */

/* ====== QUICK ACTIONS PANEL ====== */
#quickActions {
  position: fixed;
  bottom: calc(var(--footer-h) + 8px);
  right: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  padding: 4px;
  gap: 0;
  z-index: 150;
  min-width: 200px;
}
#quickActions.active { display: flex; animation: dropIn 0.14s ease; }
#quickActions button {
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  transition: background 0.12s;
}
#quickActions button:hover { background: var(--bg-hover); }
#quickActions button i { width: 16px; text-align: center; color: var(--text-secondary); }

/* ====== TOAST ====== */
.toast {
  position: fixed;
  bottom: calc(var(--footer-h) + var(--statusbar-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success i { color: var(--accent-green); }
.toast.error i { color: var(--accent-red); }
.toast.warning i { color: var(--accent-orange); }
.toast.info i { color: var(--accent); }

/* ====== RECOVERY NOTIFICATION ====== */
.recovery-notification {
  position: fixed;
  /* Start fully hidden above the viewport */
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-orange);
  color: #000;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  /* Must be above content but BELOW the header (z-index: 50) */
  z-index: 49;
  transition: top 0.3s ease;
  box-shadow: var(--shadow);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
}
/* When shown: slide in just below the header, never on top of it */
.recovery-notification.show {
  top: var(--header-h);
}
.recovery-notification button {
  background: rgba(0,0,0,0.2);
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  color: #000;
  font-weight: 600;
}
.recovery-notification .btn-options {
  background: rgba(0,0,0,0.35);
}
