/* Main section container */
.make-money-section {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
}

/* Container styles */
.make-money-section .container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 30px;
  background-color: var(--dark-card, #1e1e1e);
  border-radius: 8px;
  border: 1px solid var(--border-color, #333);
  box-shadow: var(--card-shadow, 0 2px 8px rgba(0, 0, 0, 0.2));
}

/* Typography */
.make-money-section h1 {
  color: var(--primary-color, #4285f4);
  margin-bottom: 15px;
  text-align: center;
}

.make-money-section h2 {
  /* From style.css, potentially overridden below */
  color: var(--primary-color, #4285f4);
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.make-money-section p {
  color: var(--text-gray, #aaa);
  margin-bottom: 25px;
  text-align: center;
}

/* Form elements */
.make-money-section #aiSearchForm {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
  justify-content: center; /* Added from inline styles */
}

.make-money-section #aiSearchInput {
  flex-grow: 1; /* From style.css */
  padding: 12px 15px; /* Slightly larger padding from style.css */
  font-size: 1rem; /* From style.css */
  background-color: var(--input-bg, #222); /* From inline styles */
  color: var(--text-light, #f5f5f5); /* From inline styles */
  border: 1px solid var(--border-color, #333);
  border-radius: 4px; /* From inline styles */
  outline: none;
  transition: border-color var(--transition-speed, 0.3s) ease;
  width: 60%; /* Added from inline styles */
  max-width: 500px; /* Added from inline styles */
}

.make-money-section #aiSearchInput::placeholder {
  color: var(--text-gray, #aaa);
  opacity: 0.7;
}

.make-money-section #aiSearchInput:focus {
  border-color: var(--primary-color, #4285f4);
}

.make-money-section #aiSearchForm button {
  padding: 10px 20px; /* From inline styles */
  font-size: 1rem; /* From style.css */
  font-weight: bold; /* From inline styles */
  background-color: var(--primary-color, #4285f4);
  color: white; /* From inline styles */
  border: none;
  border-radius: 4px; /* From inline styles */
  cursor: pointer;
  transition: background-color 0.3s; /* Combined transition */
  white-space: nowrap; /* From style.css */
}

.make-money-section #aiSearchForm button:hover {
  background-color: var(--primary-hover, #3b77db); /* From inline styles */
}

/* Loading indicator */
.make-money-section #loadingIndicator {
  display: none; /* Initial state */
  margin: 20px 0;
  padding: 15px; /* From style.css */
  text-align: center;
  color: var(--text-gray, #aaa); /* From style.css */
  font-style: italic; /* From style.css */
  background-color: var(--dark-bg, #121212); /* From style.css */
  border-radius: 4px; /* From style.css */
  justify-content: center; /* From inline styles */
  align-items: center; /* From inline styles */
  height: 100px; /* From inline styles */
  width: 100%; /* From inline styles */
}

/* Results display */
.make-money-section #aiIdeasResults {
  margin-top: 30px;
  padding: 25px;
  background-color: var(--dark-bg, #121212);
  border: 1px solid var(--border-color, #333);
  border-radius: 5px;
  min-height: 150px;
  color: var(--text-light, #f5f5f5);
  /* Removed white-space and font-family for code look from style.css, using general formatting below */
  overflow-x: auto;
}

/* Override default results paragraph */
.make-money-section #aiIdeasResults > p:first-child {
  color: var(--text-gray, #aaa);
  font-style: italic;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* Restore specific font */
  margin-bottom: 0; /* Reset margin if needed */
}

/* Styles specifically for generated results from inline JS */
.money-making-ideas {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-light, #f5f5f5);
}

/* This will override the h2 from style.css when results are shown */
.money-making-ideas h2 {
  color: #ffffff;
  font-size: 1.8em; /* Larger size from inline */
  text-align: center;
  margin-bottom: 1.5em; /* Larger margin from inline */
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--primary-color, #4285f4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.money-making-ideas .keyword {
  color: var(--primary-color, #4285f4);
  font-weight: bold;
}

.money-making-ideas h3 {
  color: #ffffff;
  border-bottom: 2px solid var(--primary-color, #4285f4);
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

.money-making-ideas strong {
  color: var(--primary-color, #4285f4);
  font-size: 1.1em;
  display: inline-block;
  margin-bottom: 0.5em;
}

/* This will override the default p style within results */
.money-making-ideas p {
  margin-bottom: 1.2em;
  text-align: left; /* Override centered p from style.css */
  color: var(--text-light, #f5f5f5);
  font-style: normal; /* Override italic from style.css p:first-child */
  font-family: inherit; /* Use the .money-making-ideas font */
}

.money-making-ideas ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0; /* Reset default ul margins */
}

.money-making-ideas li {
  margin-bottom: 2em;
  padding: 1.5em;
  border-left: 4px solid var(--primary-color, #4285f4);
  background-color: var(--dark-bg, #121212);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #333);
}

.money-making-ideas .idea-number {
  color: var(--primary-color, #4285f4);
  font-size: 1.3em;
  font-weight: bold;
  margin-right: 0.5em;
}

.getting-started {
  background-color: var(--dark-card, #1e1e1e);
  padding: 1em;
  border-radius: 4px;
  margin-top: 1em;
  border: 1px solid var(--border-color, #333);
}

/* Ensure strong inside getting started keeps its specific style */
.getting-started strong {
  color: var(--primary-color, #4285f4);
  font-size: 1.1em;
  display: inline-block;
  margin-bottom: 0.5em;
}

.income-potential strong {
  font-weight: bold;
  color: var(--primary-color, #4285f4);
  margin-top: 0.5em; /* Add some spacing */
  display: block; /* Ensure it takes its own line */
}

.startup-cost {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  font-size: 0.85em;
  font-weight: bold;
  margin-right: 0.5em;
  margin-top: 0.5em; /* Add spacing */
}

.startup-cost.low {
  background-color: rgba(76, 175, 80, 0.1); /* Use the color itself for BG */
  color: #4caf50;
  border: 1px solid #4caf50;
}

.startup-cost.medium {
  background-color: rgba(255, 152, 0, 0.1); /* Use the color itself for BG */
  color: #ff9800;
  border: 1px solid #ff9800;
}

.startup-cost.high {
  background-color: rgba(244, 67, 54, 0.1); /* Use the color itself for BG */
  color: #f44336;
  border: 1px solid #f44336;
}

.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 5px solid var(--dark-bg, #121212);
  border-top: 5px solid var(--primary-color, #4285f4);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.error-message {
  background-color: var(--error-bg, #2a1515);
  color: var(--text-light, #f5f5f5);
  padding: 1em;
  border-radius: 4px;
  border-left: 4px solid var(--error-color, #f44336);
  margin: 20px 0; /* Consistent margin */
}

.error-message h3 {
  color: var(--error-color, #f44336); /* From style.css */
  margin-top: 0;
  margin-bottom: 10px;
}

.bullet-item {
  display: flex;
  margin-bottom: 0.8em;
  align-items: flex-start;
  flex-direction: column;
}

.bullet {
  flex: 0 0 24px;
  color: var(--primary-color, #4285f4);
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.6; /* Match surrounding text */
  padding-right: 5px; /* Add space */
}

.bullet-content {
  flex: 1;
}

.suggestions-content {
  margin-top: 2em;
}

/* Details and summary elements (from style.css - kept for potential future use) */
.make-money-section details {
  margin-top: 10px;
}

.make-money-section details summary {
  cursor: pointer;
  color: var(--text-gray, #aaa);
  font-weight: bold;
}

.make-money-section details pre {
  background-color: var(--code-bg, #0d0d0d);
  padding: 10px;
  overflow-x: auto;
  margin-top: 10px;
  border-radius: 4px;
  border: 1px solid var(--border-color, #333);
}

/* Responsive design (from style.css) */
@media (max-width: 600px) {
  .make-money-section .container {
    padding: 20px;
  }

  .make-money-section #aiSearchForm {
    flex-direction: column;
  }

  .make-money-section #aiSearchForm button {
    width: 100%;
  }

  /* Adjust h1/h2 sizes for mobile */
  .make-money-section h1 {
    font-size: 1.8rem;
  }
  .make-money-section h2, /* Target both potential h2s */
  .money-making-ideas h2 {
    font-size: 1.4rem;
  }

  .make-money-section #aiSearchInput {
    width: 100%; /* Make input full width in column layout */
    max-width: none; /* Remove max-width on mobile */
  }

  .money-making-ideas li {
    padding: 1em; /* Reduce padding slightly on mobile */
  }
}
