* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family:
    Arial,
    sans-serif;
}

body {
  background: #0f172a;
  color: white;

  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
}

.container {
  width: 100%;
  max-width: 750px;
}

.card {
  background: #1e293b;

  border-radius: 22px;

  padding: 32px;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.35);
}

h1 {
  font-size: 34px;
  margin-bottom: 8px;
}

.subtitle {
  color: #94a3b8;
  margin-bottom: 32px;

  font-size: 15px;
}

.section {
  margin-bottom: 28px;
}

.section label {
  display: block;

  margin-bottom: 12px;

  color: #cbd5e1;
  font-size: 15px;
}

textarea {
  width: 100%;
  height: 140px;

  background: #0f172a;
  color: #38bdf8;

  border: 1px solid #334155;
  border-radius: 14px;

  padding: 16px;

  resize: none;
  outline: none;

  font-size: 13px;
  line-height: 1.5;
}

.toggle-group {
  display: flex;
  gap: 14px;
}

.toggle-btn {
  flex: 1;

  border: none;
  border-radius: 14px;

  padding: 14px;

  font-size: 15px;

  cursor: pointer;

  background: #0f172a;
  color: #cbd5e1;

  border: 1px solid #334155;

  transition: 0.2s;
}

.toggle-btn.active {
  background: #2563eb;
  color: white;

  border-color: #2563eb;
}

.send-btn {
  width: 100%;

  margin-top: 10px;

  background: #16a34a;
  color: white;

  border: none;
  border-radius: 14px;

  padding: 16px;

  font-size: 16px;
  font-weight: bold;

  cursor: pointer;

  transition: 0.2s;
}

.send-btn:hover {
  background: #15803d;
}

#status {
  margin-top: 28px;

  background: #0f172a;

  border-radius: 14px;

  padding: 18px;

  color: #4ade80;

  font-size: 13px;
  line-height: 1.6;

  white-space: pre-wrap;
  word-break: break-word;

  overflow-x: auto;
}

/* MOBILE RESPONSIVE */

@media (max-width: 640px) {

  body {
    padding: 14px;
  }

  .card {
    padding: 22px;
  }

  h1 {
    font-size: 28px;
  }

  .toggle-group {
    flex-direction: column;
  }

  .toggle-btn {
    width: 100%;
  }

  textarea {
    height: 170px;
    font-size: 12px;
  }

  .send-btn {
    padding: 15px;
  }
}