/* -------------------------------------------------------------
 * Reading Time Calculator - Modern UI Redesign
 * ------------------------------------------------------------- */
.leaf-reading-modes {
  margin-bottom: 1.5rem;
}

.leaf-reading-input-card {
  margin-bottom: 2rem;
}

.leaf-reading-textarea {
  min-height: 200px;
  line-height: 1.7;
}

.leaf-reading-speed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.leaf-speed-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.leaf-speed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.leaf-speed-card.highlight {
  border-color: #10b981;
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.2);
}

.leaf-speed-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #047857;
  background: #d1fae5;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 8px;
}

.leaf-speed-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.leaf-speed-wpm {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}

.leaf-speed-time {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.leaf-break-advisor {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.leaf-break-icon {
  background: #ffffff;
  color: #1d4ed8;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.leaf-break-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.leaf-break-desc {
  font-size: 0.96rem;
  color: #1d4ed8;
  line-height: 1.6;
  margin: 0;
}
