/* Chat email form styles — extracted from inline HTML for better caching */
#fg-email-form {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: rgba(123, 44, 191, 0.1);
  border-radius: 12px;
  margin: 12px;
  border: 1px solid rgba(123, 44, 191, 0.3);
  overflow: visible;
  gap: 10px;
}
.fg-email-title {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
}
.fg-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 16px; /* критично — предотвращает iOS zoom */
  min-height: 44px; /* touch target */
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}
.fg-input:focus {
  border-color: #7B2CBF;
}
.fg-input::placeholder {
  color: rgba(255,255,255,0.4);
}
.fg-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  color: #ccc;
  font-size: 12px;
  margin: 4px 0;
  cursor: pointer;
  line-height: 1.4;
}
.fg-checkbox input {
  margin-top: 2px;
  flex-shrink: 0;
}
.fg-checkbox a {
  color: #9D4EDD;
  text-decoration: underline;
}
.fg-submit-btn {
  width: 100%;
  padding: 12px;
  min-height: 48px;
  background: linear-gradient(135deg, #7B2CBF, #9D4EDD);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.2s;
}
.fg-submit-btn:hover:not(:disabled) {
  opacity: 0.9;
}
.fg-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
