/* Random Startup Idea Generator Scoped Styles */
.rsig-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;
}

.rsig-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);
}

.rsig-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.rsig-title-row h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.rsig-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.rsig-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rsig-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
}

.rsig-select {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.9rem;
  color: inherit;
}

.rsig-select:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.rsig-action-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.rsig-btn {
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.rsig-btn-primary {
  background: #7c3aed;
  color: #ffffff;
}

.rsig-btn-primary:hover {
  background: #6d28d9;
}

.rsig-btn-secondary {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #374151;
}

.rsig-btn-secondary:hover {
  background: #e5e7eb;
}

/* Pitch Box */
.rsig-pitch-box {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 2px solid #ddd6fe;
  border-radius: 14px;
  padding: 28px 24px;
  margin-bottom: 24px;
}

.rsig-codename-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.rsig-codename {
  font-size: 1.6rem;
  font-weight: 800;
  color: #5b21b6;
}

.rsig-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rsig-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #7c3aed;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rsig-pitch-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2e1065;
  line-height: 1.5;
  margin-bottom: 18px;
}

.rsig-canvas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.rsig-canvas-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
}

.rsig-canvas-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.rsig-canvas-val {
  font-size: 0.9rem;
  color: #1f2937;
  font-weight: 500;
  line-height: 1.4;
}

