/* APPEXi Conversation Controls — Save Session + Clear Chat (TICKET-006) */
.appexi-header .appexi-header-controls {
  flex-wrap: nowrap;
  overflow: visible;
}
.appexi-ctrl-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 2;
}
.appexi-ctrl-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.appexi-ctrl-btn--save { border-color: rgba(34,197,94,0.45) !important; background: rgba(34,197,94,0.18) !important; color: #86efac !important; box-shadow: 0 1px 6px rgba(34,197,94,0.15); }
.appexi-ctrl-btn--save:hover { border-color: rgba(34,197,94,0.6) !important; background: rgba(34,197,94,0.28) !important; color: #bbf7d0 !important; }
.appexi-ctrl-btn--clear { border-color: rgba(239,68,68,0.3) !important; background: rgba(239,68,68,0.12) !important; color: #fca5a5 !important; }
.appexi-ctrl-btn--clear:hover { border-color: rgba(239,68,68,0.5) !important; background: rgba(239,68,68,0.2) !important; color: #fecaca !important; }
.appexi-ctrl-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.appexi-toast {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 72px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  z-index: 10;
  animation: appexi-toast-in 0.2s ease-out;
  pointer-events: none;
  max-width: 90%;
  text-align: center;
}
.appexi-toast--success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.2); color: #86efac; }
.appexi-toast--error   { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.2); color: #fca5a5; }
.appexi-toast--info    { background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.2); color: #a5b4fc; }
@keyframes appexi-toast-in { from { opacity:0; transform: translateX(-50%) translateY(6px);} to { opacity:1; transform: translateX(-50%) translateY(0);} }
@keyframes appexi-toast-out { from { opacity:1; } to { opacity:0; transform: translateX(-50%) translateY(-6px);} }
