* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #0d0f12;
  color: #e6e6eb;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

header p {
  margin-top: 6px;
  color: #9aa0a6;
}

textarea {
  width: 100%;
  min-height: 320px;
  background: #14171c;
  border: 1px solid #22262d;
  color: #e6e6eb;
  padding: 16px;
  font-size: 14px;
  border-radius: 10px;
  resize: vertical;
}

textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.actions {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.actions span {
  font-size: 12px;
  color: #9aa0a6;
}

button {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: #2563eb;
}

.hidden {
  display: none;
}

footer {
  margin-top: auto;
  padding-top: 20px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #e6e6eb;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid #1f2937;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
