/* snf-voice-modal.css – frosted voice assistant modal */

.snf-voice-overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}
.snf-voice-overlay.show { display: block; }

#snf-voice-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(700px, 92vw);
  max-height: 80vh;
  overflow: auto;
  padding: 16px 18px;
  border-radius: 16px;
  z-index: 9999;

  background: var(--gsx-pane, rgba(255,255,255,.34));
  border: 1px solid var(--gsx-border, rgba(255,255,255,.6));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 24px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
}

#snf-voice-modal.snf-voice-hide { display: none; }

#snf-voice-close {
  position: absolute;
  right: .5rem;
  top: .35rem;
  width: 32px; height: 32px; border-radius: 999px; border: 0; cursor: pointer;
  background: #111827; color: #fff; font-size: 18px; line-height: 32px;
}

#snf-voice-log {
  margin-top: .5rem;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 10px;
  padding: 10px 12px;
  max-height: 50vh;
  overflow: auto;
}

.va-line { margin: 8px 0; }
.va-bot { color: #0b1220; font-weight: 700; }
.va-user { color: #0b1220; }
.va-error { color: #b91c1c; font-weight: 700; }

.snf-voice-controls { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .75rem; }
#snf-voice-cancel {
  background: linear-gradient(180deg, #7a6df5, #5f8cff);
  color:#fff; border:0; border-radius:12px; padding:.6rem .9rem; font-weight:800; cursor:pointer;
  box-shadow: 0 8px 18px rgba(16,24,55,.28);
}

.va-typed {
  width: 100%;
  padding: .55rem .65rem;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.20);
  background: rgba(255,255,255,.95);
  color: #0b0d10;
  font-size: 1rem;
  line-height: 1.25;
}