/* ============================================================
   OFFICEA — TOAST SYSTEM
   ============================================================ */
.officea-toast-container {
  position: fixed;
  bottom: 92px; /* au-dessus de la nav bottom */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 420px;
}

@media (min-width: 768px) {
  .officea-toast-container {
    bottom: 24px;
    left: auto;
    right: 24px;
    transform: none;
  }
}

.officea-toast {
  background: #1a2942;
  color: white;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 14px;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}

.officea-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.officea-toast.is-leaving {
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
}

.officea-toast-content {
  flex: 1;
  min-width: 0;
}

.officea-toast-action {
  background: transparent;
  border: none;
  color: #d4a868;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 6px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}
.officea-toast-action:hover {
  background: rgba(212, 168, 104, 0.15);
}

/* ── Variants ── */
.officea-toast-success {
  background: linear-gradient(135deg, #1a2942 0%, #2d4a3a 100%);
}
.officea-toast-success .officea-toast-content::before {
  content: '✓';
  display: inline-block;
  margin-right: 8px;
  color: #6ecc81;
  font-weight: 700;
  font-size: 16px;
}

.officea-toast-error {
  background: linear-gradient(135deg, #1a2942 0%, #5c3033 100%);
}
.officea-toast-error .officea-toast-content::before {
  content: '✕';
  display: inline-block;
  margin-right: 8px;
  color: #e88a8a;
  font-weight: 700;
  font-size: 16px;
}

.officea-toast-info {
  background: #1a2942;
}
