/* --- StructuredOutput.Ai Contact Form Theme --- */
:root {
  --color-bg: #f9fafb;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-accent: #2563eb; /* blue-600 */
  --color-accent-hover: #1d4ed8; /* blue-700 */
  --radius: 0.75rem;
}

/* Base layout */
body {
  background: var(--color-bg);
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--color-text);
  padding: 0.5rem!important;
}

/* Form wrapper */
.form-wrapper {
  max-width: 500px;
  margin: 3rem auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  padding: 2rem;
}

/* Fields */
.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.75rem;
}

.form-field label.form-font-semibold {
  display: none !important;
}

/* Inputs & Textareas */
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem 1.1rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-text);
  transition: all 0.2s ease;
  margin-top: 0 !important;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Placeholders */
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9ca3af;
  font-size: 0.95rem;
  opacity: 1;
}

/* Character counter */
legend {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.4rem;
}

/* Button */
.button--blue {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.button--blue:hover {
  background: var(--color-accent-hover);
}

.button--blue:disabled {
  background: #93c5fd;
  cursor: not-allowed;
}

.button--blue:active {
  transform: scale(0.98);
}

/* Privacy text */
.privacy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 1.5rem;
}

.privacy a {
  color: var(--color-accent);
  text-decoration: none;
}

.privacy a:hover {
  text-decoration: underline;
}
