/* Workshop Inquiry Form — shared styles for the three vibe-coding-workshop pages.
 * Designed to inherit page colors via CSS variables when present, with sensible
 * fallbacks so the form is readable on every page out of the box. */
.wi-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin-top: 40px;
}
.wi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .wi-row { grid-template-columns: 1fr; } }
.wi-field { display: flex; flex-direction: column; gap: 6px; }
.wi-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-100, var(--dark, #0a1628));
  font-family: var(--font-family, inherit);
}
.wi-field label .wi-opt {
  font-weight: 400;
  color: var(--text-200, var(--gray500, #666));
}
.wi-field input,
.wi-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color, var(--gray200, #d0d6e0));
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-100, var(--white, #fff));
  color: var(--text-100, #0a1628);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wi-field textarea {
  min-height: 100px;
  resize: vertical;
}
.wi-field input:focus,
.wi-field textarea:focus {
  outline: none;
  border-color: var(--accent-100, var(--accent, #01FFCD));
  box-shadow: 0 0 0 3px rgba(1, 255, 205, 0.12);
}
.wi-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wi-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
/* Submit button: when used inside a design-system page (`.btn .btn-primary`),
   the brand class fully styles the button. For the legacy standalone HTML
   pages that don't load xalt-design.css, the rules below provide a brand-
   correct fallback so both contexts look identical. */
.wi-actions button {
  font: inherit;
  cursor: pointer;
}
.wi-actions button:disabled { opacity: 0.6; cursor: not-allowed; }
/* Fallback styling for pages without xalt-design.css (legacy standalone). */
.wi-actions button:not(.btn) {
  padding: 16px 36px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  background: var(--accent-100, #01FFCD);
  color: var(--primary-100, #081327);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.wi-actions button:not(.btn):hover:not(:disabled) {
  background: #00e6b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 255, 205, 0.25);
}
.wi-actions .wi-legal {
  font-size: 12px;
  color: var(--text-200, var(--gray500, #6b7280));
}
.wi-actions .wi-legal a { color: inherit; text-decoration: underline; }
.wi-status {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.wi-status--error {
  background: rgba(255, 68, 68, 0.08);
  border: 1px solid rgba(255, 68, 68, 0.2);
  color: #cc1f1f;
}
.wi-status--success {
  background: rgba(1, 255, 205, 0.08);
  border: 1px solid rgba(1, 255, 205, 0.25);
  color: #0a8866;
}
.wi-success {
  display: none;
  padding: 24px;
  border-radius: 12px;
  background: var(--bg-200, rgba(1, 255, 205, 0.06));
  border: 1px solid var(--accent-100, rgba(1, 255, 205, 0.25));
  text-align: center;
}
.wi-success h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--text-100, #0a1628);
}
.wi-success p {
  margin: 0;
  color: var(--text-200, #6b7280);
}
