:root {
  --bg: #0f172a;
  --card: #111827;
  --card2: #1f2937;
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --success: #22c55e;
  --error: #ef4444;
  --border: rgba(148, 163, 184, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #020817, #0f172a 60%, #111827);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.container {
  width: 100%;
  max-width: 650px;
}

.card {
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

h1 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.field-group {
  margin-bottom: 18px;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text);
}

input,
textarea,
button,
.wa-btn {
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

button,
.wa-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

button:hover,
.wa-btn:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.status {
  margin-top: 18px;
  min-height: 24px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}

.status.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
}

.status.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
}

@media (max-width: 480px) {
  .card {
    padding: 20px 16px;
  }

  .action-row {
    grid-template-columns: 1fr;
  }
}
