/* Mini‑Guide and Toast UI components (shared)
   Phoenix Foundation / CREP‑D²
   Safe to include on any page. Only activates if matching markup exists.
*/

/* Floating action button for mini‑guide */
.mini-guide-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  background: var(--phoenix-indigo);
  color: #fff;
  box-shadow: 0 10px 24px rgba(81, 45, 168, .25);
  cursor: pointer;
  font-weight: 800;
}
.mini-guide-fab:focus {
  outline: 3px solid var(--phoenix-gold);
  outline-offset: 2px;
}

/* Mini‑guide panel */
.mini-guide-panel {
  position: fixed;
  right: 16px;
  bottom: 80px;
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  padding: 1rem 1rem;
  z-index: 1000;
  display: none;
}
.mini-guide-panel[aria-hidden="false"] {
  display: block;
}

.mini-guide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}
.mini-guide-header h3 {
  color: var(--phoenix-indigo);
  margin: 0;
}
.mini-guide-close {
  background: transparent;
  border: none;
  color: var(--phoenix-slate);
  cursor: pointer;
  font-weight: 800;
}
.mini-guide-list { margin: .25rem 0 0 1rem; }
.mini-guide-list li { margin: .25rem 0; }

/* Toast notification */
.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  background: rgba(33,33,33,.95);
  color: #fff;
  padding: .7rem 1rem;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.toast.show { opacity: 1; }
