/* =========================================================
   EDITORIAL FORMS (The Stationery Look)
   File: /css/components/forms.css
   Style: Architectural, Sharp, High-Contrast
   ========================================================= */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-md);
}

/* Label: High-Spaced Luxury Sans */
.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em; /* Broad tracking for the premium feel */
  text-transform: uppercase;
  color: var(--ink-35);
  padding-left: 2px;
}

/* Input: Sharp & Minimalist */
.input,
.select,
.textarea {
  width: 100%;
  appearance: none;
  background: transparent; /* Clean stationery feel */
  
  /* Sharp corners are the hallmark of luxury design */
  border-radius: 0; 
  border: 1px solid var(--ink-92); /* Strong structural frame */
  
  padding: 1rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-92);
  
  transition: all var(--t-fast) var(--ease);
}

.textarea { 
  min-height: 150px;
  resize: vertical;
}

/* Precision Focus State */
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent-gold, #c5a059);
  /* Use a subtle background shift instead of a heavy ring */
  background: rgba(197, 160, 89, 0.02); 
}

/* Placeholder: Silent & Muted */
.input::placeholder,
.textarea::placeholder {
  color: var(--ink-35);
  font-weight: 300;
  opacity: 0.6;
}

/* Select: Clean Chevron */
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230f172a' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.5rem;
}

/* Error State: Refined Alert */
.field.is-error .input {
  border-color: #e11d48;
}

.help {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: italic; /* Editorial nuance */
  color: var(--ink-58);
  margin-top: 4px;
}

/* ---------------------------------------------------------
   THE EDITORIAL SIGNUP (Specific Overhaul)
   Combining the form with the "Framed Art" logic
--------------------------------------------------------- */

.signup-card {
  border-radius: 0;
  border: 1px solid var(--ink-92);
  background: var(--surface-page);
  padding: var(--space-xl);
  box-shadow: none; /* Let the lines do the work */
}

.signup-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: var(--space-md);
}