/* Help system styles: tooltips override, toast notifications, and help button */

/* Help button in headers */
.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: #2d6cdf;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.help-btn:hover {
  background: #1f55bf;
}

.header .header-actions { margin-top: 8px; }

/* Toast container */
.toast-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Toast */
.toast {
  min-width: 280px;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #fff;
  background: rgba(20,20,20,0.95);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(255,255,255,0.08);
}
.toast .toast-icon { font-size: 18px; line-height: 1; margin-top: 2px; }
.toast .toast-title { font-weight: 700; margin-bottom: 6px; }
.toast .toast-message { opacity: 0.95; }
.toast .toast-close { background: transparent; border: none; color: #fff; cursor: pointer; font-size: 16px; }
.toast .toast-suggestions { margin-top: 8px; padding-left: 18px; }
.toast .toast-suggestions li { margin: 4px 0; opacity: 0.9; }

.toast.info { background: linear-gradient(135deg, #2d6cdf, #274b8a); }
.toast.success { background: linear-gradient(135deg, #1d7e3f, #165f30); }
.toast.error { background: linear-gradient(135deg, #b02a37, #7a1c24); }

/* Optional: Tippy theme tweaks */
.tippy-box[data-theme~='light'] {
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  font-size: 13px;
}

@media (max-width: 600px) {
  .toast { min-width: auto; width: calc(100vw - 32px); }
  .toast-container { right: 8px; left: 8px; bottom: 8px; }
}
