body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

header {
  text-align: center;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
}

header h1 {
  color: #ffd700; /* Banana yellow */
  margin: 0;
}

header p {
  color: #aaa;
  margin-top: 0.25rem;
}

.mode-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.mode-selector button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: 1px solid #333;
  background-color: transparent;
  color: #e0e0e0;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 8px;
}

.mode-selector button.active {
  background-color: #ffd700;
  color: #121212;
  border-color: #ffd700;
}

.input-area textarea, .input-area input[type="file"] {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  background-color: #1e1e1e;
  border: 1px solid #333;
  color: #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  min-height: 120px;
}

.input-area input[type="file"] {
  min-height: auto;
}

#image-preview-container {
    margin-top: 1rem;
    max-width: 100%;
}

#image-preview-container img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
}


.options-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
  background-color: #1e1e1e;
  border-radius: 8px;
}

.option-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

select, .resolution-options button {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #2c2c2c;
  color: #e0e0e0;
}

.resolution-options button {
    cursor: pointer;
}

.resolution-options button.active {
  background-color: #ffd700;
  color: #121212;
  border-color: #ffd700;
}

#generate-btn {
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #ffd700;
  color: #121212;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#generate-btn:hover {
  background-color: #f0c400;
}

.result-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background-color: #1e1e1e;
  border-radius: 8px;
  margin-top: 1rem;
}

#processing-steps {
  width: 100%;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
}

#processing-steps .prompt-box {
  background-color: #2c2c2c;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid #ffd700;
  font-style: italic;
  color: #ccc;
}

#result-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

#result-image {
  max-width: 100%;
  border-radius: 8px;
  border: 2px solid #333;
}

.button-like {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #ffd700;
  color: #121212;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s;
}

.button-like:hover {
  background-color: #f0c400;
}