/* ============================================
   LESSON 19 — SPECIFIC STYLES
   Following a Process
   ============================================ */

/* ── Passage container ── */
.l19-passage {
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
  margin-bottom: 8px;
}

.l19-intro,
.l19-outro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 18px;
}
.l19-outro { margin-top: 16px; margin-bottom: 0; font-style: italic; }

/* ── Section labels (Then / Next / Finally) ── */
.l19-section-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
}

/* ── Step list ── */
.l19-step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  padding-left: 4px;
}

.l19-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.l19-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}
.l19-step-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 2px;
}

/* ── Input field ── */
.l19-inp {
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  width: 120px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.l19-inp:focus      { border-color: var(--gold); }
.l19-inp.l19-correct{ border-color: var(--success); background: rgba(74,222,128,.07); color: var(--success); }
.l19-inp.l19-wrong  { border-color: var(--error);   background: rgba(248,113,113,.07); }

/* ── Explanation ── */
.l19-exp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.l19-exp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.l19-exp-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}
.l19-exp-verb  { font-weight: 800; color: var(--text); font-size: 1rem; min-width: 46px; }
.l19-exp-arrow { color: var(--gold); font-size: .97rem; }
.l19-exp-text  { color: var(--text-muted); font-size: 1rem; line-height: 1.4; }

/* ── Study Tip ── */
.l19-tip-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.l19-tip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.l19-tip-icon  { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.l19-tip-title { font-weight: 700; color: var(--gold); margin-bottom: 4px; font-size: 1rem; }
.l19-tip-body  { color: var(--text-muted); font-size: .97rem; line-height: 1.55; margin: 0; }

.l19-phrase-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.l19-chip {
  padding: 4px 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Shake animation ── */
@keyframes l19-shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-6px); }
  40%     { transform: translateX(6px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}
.l19-shake { animation: l19-shake .4s ease; }
