/* GCG chat widget */
.gcg-widget-btn {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  background: #1aa6a0;
  color: #041414;
  font-weight: 700;
  font-family: Manrope, system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.gcg-widget-btn:hover { background: #2ec4b6; }

.gcg-panel {
  position: fixed;
  right: 1.1rem;
  bottom: 4.2rem;
  width: min(380px, calc(100vw - 1.5rem));
  max-height: min(70vh, 560px);
  background: #171e26;
  color: #e8eef4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  font-family: Manrope, system-ui, sans-serif;
}
.gcg-panel[hidden] { display: none !important; }
.gcg-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1419;
}
.gcg-panel-head strong { color: #2ec4b6; }
.gcg-body { padding: 0.75rem 1rem 1rem; overflow: auto; flex: 1; }
.gcg-body label { display: block; font-size: 0.8rem; color: #9aa8b5; margin: 0.55rem 0 0.2rem; }
.gcg-body input, .gcg-body select, .gcg-body textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1419;
  color: #e8eef4;
  padding: 0.5rem 0.65rem;
  font: inherit;
}
.gcg-hint {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: #9aa8b5;
  line-height: 1.4;
}
.gcg-hint a { color: #2ec4b6; }
.gcg-actions { display: flex; gap: 0.5rem; margin-top: 0.85rem; }
.gcg-actions button {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 0.65rem;
  background: #1aa6a0;
  color: #041414;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}
.gcg-close {
  border: none;
  background: transparent;
  color: #9aa8b5;
  font-size: 1.3rem;
  cursor: pointer;
}
.gcg-msg { margin-top: 0.75rem; color: #2ec4b6; font-size: 0.9rem; }
