body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 2rem;
    background: #f0f0f0;
    text-align: center;
  }
  
  h1 {
    color: #333;
  }
  
  button {
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
  }
  
  p {
    margin-top: 20px;
    font-weight: bold;
  }

/* Logo positioned in the top-right corner */
.top-right-logo {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 120px; /* default size */
  height: auto;
  z-index: 1000;
  pointer-events: none; /* logo won't block clicks */
}

/* Smaller screens: scale logo down */
@media (max-width: 480px) {
  .top-right-logo {
    width: 72px;
    top: 0.5rem;
    right: 0.5rem;
  }
}

@media (min-width: 1200px) {
  .top-right-logo {
    width: 160px;
  }
}

/* Input container styling */
.input-container {
  margin: 2rem auto;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.input-container label {
  font-weight: bold;
  color: #333;
}

.input-container input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.input-container button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.input-container button:hover {
  background-color: #0056b3;
}

/* Output container styling */
.output-container {
  margin: 2rem auto;
  max-width: 400px;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.output-container h2 {
  color: #333;
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.saved-text {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 4px;
  min-height: 50px;
  word-wrap: break-word;
}
