/* Base App styles */
.app {
  background-color: #ffffff;
  color: #000000;
  font-family: sans-serif;
  min-height: 100vh;
  padding: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.app.dark {
  background-color: #121212;
  color: #ffffff;
}

/* Header */
h1 {
  margin-bottom: 1rem;
}

/* Textarea styles */
textarea {
  background-color: #f0f0f0;
  color: #000000;
  border: 1px solid #ccc;
  font-family: monospace;
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
  width: 49%;
  height: 600px;
}

.app.dark textarea {
  background-color: #1e1e1e;
  color: #eeeeee;
  border: 1px solid #444;
}

/* Textarea container */
.textareas-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive: stack textareas on smaller screens */
@media (max-width: 768px) {
  .textareas-container textarea {
    width: 100%;
  }
}

/* Button styles */
button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  margin: 0.5rem 0.5rem 0.5rem 0;
  cursor: pointer;
  border-radius: 7px;
}

/* Button container */
.button-container {
  margin-top: 1rem;
}

/* Footer styles */
footer {
  text-align: left;
  margin-top: 2rem;
  font-size: 1rem;
}

footer p {
  margin: 0.5rem 0;
  color: #555;
}

footer a {
  text-decoration: none;
  font-weight: bold;
  color: #007bff;
}

footer a:hover {
  color: #0056b3;
}

footer a.link {
  text-decoration: underline;
}
