/* Dad Joke Generator Scoped Styles */
.dadj-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;
}

.dadj-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);
}

.dadj-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.dadj-title-row h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.dadj-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.dadj-select {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.95rem;
  color: inherit;
}

.dadj-select:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.dadj-btn {
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.dadj-btn-primary {
  background: #f59e0b;
  color: #ffffff;
}

.dadj-btn-primary:hover {
  background: #d97706;
}

.dadj-btn-secondary {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #374151;
}

.dadj-btn-secondary:hover {
  background: #e5e7eb;
}

/* Joke Showcase Box */
.dadj-joke-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #fde68a;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}

.dadj-category-tag {
  display: inline-block;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.dadj-setup {
  font-size: 1.4rem;
  font-weight: 700;
  color: #78350f;
  line-height: 1.4;
  margin-bottom: 20px;
}

.dadj-punchline-wrap {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dadj-punchline {
  font-size: 1.25rem;
  font-weight: 600;
  color: #92400e;
  background: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px dashed #f59e0b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dadj-punchline-hidden {
  display: none;
}

.dadj-reveal-btn {
  background: #ffffff;
  border: 2px solid #f59e0b;
  color: #b45309;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dadj-reveal-btn:hover {
  background: #fef3c7;
}

.dadj-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.85rem;
  color: #92400e;
  flex-wrap: wrap;
  gap: 8px;
}

