/*
  File role: VOGO chat (rag-ai) — the sign-out confirmation dialog (logout-confirm.js, user 24.10.2026). The chat's
  tokens (--panel, --fg, --muted, --line, --off, --vogo-icon-blue, --radius) give the light and the dark theme.
  @file_version 1.0.0
*/
.lgc-overlay {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(8, 12, 20, 0.55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.lgc-overlay[hidden] { display: none; }
.lgc-dialog {
  width: 100%; max-width: 420px; padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); color: var(--fg); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  animation: lgc-in 0.16s ease-out;
}
@keyframes lgc-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lgc-dialog { animation: none; } }
.lgc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lgc-icon {
  flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; background: color-mix(in srgb, var(--vogo-icon-blue) 14%, transparent); color: var(--vogo-icon-blue);
}
.lgc-head h2 { flex: 1; min-width: 0; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
/* The X: always the last element of the head, in the top-right corner (code-writing rule 13). */
.lgc-x {
  flex: none; align-self: flex-start; width: 32px; height: 32px; margin: -6px -8px 0 auto; border: 0;
  border-radius: var(--radius); background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer;
}
.lgc-x:hover { background: var(--code); color: var(--fg); }
#lgc-text { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
#lgc-text strong { color: var(--fg); font-weight: 600; }
.lgc-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.lgc-btn {
  min-height: 40px; padding: 0 16px; border-radius: var(--radius); font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: filter 0.12s, transform 0.12s;
}
.lgc-btn:active { transform: scale(0.98); }
.lgc-btn--stay { border: 1px solid var(--line); background: transparent; color: var(--fg); }
.lgc-btn--stay:hover { background: var(--code); }
.lgc-btn--out { border: 0; background: var(--off); color: #fff; }
.lgc-btn--out:hover { filter: brightness(1.08); }
@media (max-width: 420px) { .lgc-actions .lgc-btn { flex: 1 1 auto; } }
