/* ======================================
   Washing Machine – specific styles
   ====================================== */

/* --------------------------------------
   Mode selection layout
   -------------------------------------- */

.tools {
  margin-top: 32px;
}

body {
  color: #875053;
}


.mode-select {
  display: flex;
  justify-content: center;
}

.mode-select .tools {
  max-width: 640px;
  grid-template-columns: 1fr 1fr;
}

/* --------------------------------------
   Tool cards
   -------------------------------------- */

.tool-card h2 {
  font-size: 20px;
}

.tool-card p {
  line-height: 1.5;
}

/* --------------------------------------
   Back link
   -------------------------------------- */

.back-link {
    display: inline-block;
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}


/* ======================================
   Single GTIN – Coming soon
   ====================================== */

.coming-soon-card {
  text-align: center;
  padding: 48px 32px;
}

.coming-soon-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: spin-soft 6s linear infinite;
}

@keyframes spin-soft {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ======================================
   Multiple GTIN – Textarea surface
   (SAFE, PREDICTABLE PATTERN)
   ====================================== */

.textarea-surface {
  margin-top: 12px;
  margin-bottom: 20px;

  background-color: #ffffff;
  border-radius: 12px;
  border: 2px solid #d6dde8;

  padding: 16px 18px;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.textarea-surface:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

/* --------------------------------------
   Textarea (unstyled, fills surface)
   -------------------------------------- */

.textarea-surface textarea {
  width: 100%;
  min-height: 220px;

  border: none;
  outline: none;
  background: transparent;

  resize: vertical;

  font-family: "Nunito", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #1f2937;

  box-sizing: border-box;
}

.textarea-surface textarea::placeholder {
  color: #9ca3af;
}

/* --------------------------------------
   Button spacing inside tool cards
   -------------------------------------- */

.tool-card button {
  margin-top: 8px;
}

.field-hint {
  display: block;
  margin-top: 4px;
  margin-bottom: 8px;
  font-size: 15px;
  color: #6b7280;
  font-weight: 800;
}

.textarea-surface {
  cursor: text;
}

.expand-btn {
  color: #1e3a8a; /* dark blue */
}

.expand-btn:hover {
  color: #1d4ed8;
}

.compact-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compact-section-title {
  margin: 0 0 6px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e3a8a;
}

.compact-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  font-size: 13px;
}

.compact-dl dt {
  font-weight: 600;
  color: #374151;
}

.compact-dl dd {
  margin: 0;
  color: #111827;
}

.compact-list {
  margin: 4px 0 0 0;
  padding-left: 18px;
}

.compact-list li {
  margin-bottom: 4px;
}
