body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  padding: 40px;
}

.container {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

textarea {
  width: 100%;
  height: 140px;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
  resize: vertical;
}

.button-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.button-row button {
  flex: 1; /* all buttons equal width */
}


button {
  width: 100%;
  padding: 12px;
  background: #0078ff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 10px;
}

button:hover {
  background: #005fcc;
}

.copy-btn {
  background: #28a745;
}

.copy-btn:hover {
  background: #1e7e34;
}

.download-btn {
  background: #6f42c1;
}

.download-btn:hover {
  background: #59359a;
}

.clear-btn {
  background: #dc3545;
}

.clear-btn:hover {
  background: #b02a37;
}

.drop-zone {
  border: 2px dashed #0078ff;
  padding: 25px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 15px;
  cursor: pointer;
  color: #0078ff;
  font-size: 15px;
  position: relative;
}

.drop-zone.dragover {
  background: #e8f1ff;
}

.drop-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px 0;
  color: #555;
  font-size: 14px;
}

footer a {
  color: #0078ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.share-result {
  margin-left: 8px;
  color: green;
  font-weight: bold;
}
