/* Craft Examples Page */

.craft-examples {
  max-width: 800px;
  margin: 0 auto;
}

.craft-title {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
}

.craft-definition {
  font-size: 16px;
  color: #34495e;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

/* Usage Guide Card */
.usage-guide-card {
  margin-bottom: 12px;
}

.usage-guide-section {
  margin: 20px 0;
}

.usage-guide-section:first-of-type {
  margin-top: 0;
}

.usage-guide-section:last-of-type {
  margin-bottom: 0;
}

.usage-guide-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  color: #34495e;
  line-height: 1.7;
}

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

.usage-guide-actions {
  margin-bottom: 20px;
  text-align: right;
}

/* Example List */
.craft-example-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.craft-example-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #ecf0f1;
}

.craft-example-item:last-child {
  border-bottom: none;
}

.craft-example-text {
  flex: 1;
  color: #34495e;
  line-height: 1.6;
  font-size: 15px;
}

.craft-remove-btn {
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #95a5a6;
  cursor: pointer;
  font-size: 12px;
  padding: 2px 7px;
  flex-shrink: 0;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1.5;
}

.craft-remove-btn:hover {
  background-color: #fee;
  border-color: #e74c3c;
  color: #e74c3c;
}

/* Sentence Form */
.craft-sentence-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Loading State */
.btn-loading {
  opacity: 0.7;
  cursor: wait;
}

/* Footer / Status Toggle */
.craft-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  margin-top: 8px;
}

/* Status Badge Override for Craft Footer (standalone, larger than inline version in words.css) */
.craft-footer .status-badge {
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* AI Feedback Panel */
.feedback-panel {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feedback-result {
  margin-bottom: 12px;
}

.feedback-verdict {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.feedback-positive {
  color: #1e8449;
}

.feedback-needs-work {
  color: #d68910;
}

.feedback-text {
  font-size: 15px;
  color: #34495e;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.feedback-improved {
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  border-radius: 0 4px 4px 0;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.feedback-improved-label {
  font-size: 14px;
  color: #7f8c8d;
  margin: 0 0 8px 0;
}

.feedback-improved-text {
  font-size: 15px;
  color: #2c3e50;
  font-style: italic;
  margin: 0 0 8px 0;
  line-height: 1.6;
}

.feedback-explanation {
  font-size: 14px;
  color: #7f8c8d;
  margin: 0;
  line-height: 1.5;
}

.feedback-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ecf0f1;
}
