:root {
  --fg: #fff;
  --accent: #FF6857;
  --input-bg: #111;
  --input-border: #333;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #080808, #1a1a1a);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 100vh;
}

.card {
  background: #202020;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  width: clamp(400px, 80%, 600px);
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.25rem;
  color: var(--fg);
  resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 104, 87, 0.4);
}

button {
  display: block;
  width: 100%;
  margin-top: 2rem;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: bold;
  color: #000000;
  background: #FF6857;
  border: 1px solid #000000;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}

button:hover {
  background: #ffffff;
  box-shadow: 0 0px 9px #ffffff80;
}

button:active {
  transform: scale(0.98);
}

/* style.css */
.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.8);
  color: var(--fg);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 999;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.toast.success {
  background: #202020;
}
.toast.error {
  background: #FF685730;
}