/* Word and Character Counter Scoped Styles */
.wcc-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
  line-height: 1.5;
}

.wcc-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wcc-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.wcc-title-row h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.wcc-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wcc-btn {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
}

.wcc-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.wcc-btn-primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.wcc-btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.wcc-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 180px;
  padding: 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  color: inherit;
  background: #f9fafb;
}

.wcc-textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.wcc-toolbar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.wcc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.wcc-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.wcc-stat-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 2px;
}

.wcc-stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wcc-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.wcc-subcard {
  background: #fdfdfd;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 16px;
}

.wcc-subcard h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
}

.wcc-info-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed #e2e8f0;
}

.wcc-info-row:last-child {
  border-bottom: none;
}

.wcc-info-label {
  color: #64748b;
}

.wcc-info-val {
  font-weight: 600;
  color: #111827;
}

