:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-contrast: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  --transition: 180ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

* {
  box-sizing: border-box;
  font-family: "Funnel Display", sans-serif;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  padding: 32px;
}

.send-box {
  width: 100%;
  max-width: 720px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: solid var(--primary);
}

form {
  display: flex;
  width: 100%;
  gap: 12px;
}

.send {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.9),
      rgba(250, 250, 250, 0.9));
  transition: box-shadow var(--transition), border-color var(--transition),
    transform var(--transition);
}

.send-input {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.send-input:focus-within {
  border-color: color-mix(in srgb, var(--primary) 70%, blue 10%);
  transform: translateY(-1px);
}

.send-input input::placeholder,
.input-answer::placeholder {
  margin-bottom: 50px;
}

.txtarea-answer {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  resize: vertical;
}

.btn-send {
  margin: 0 5%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(180deg,
      var(--primary),
      color-mix(in srgb, var(--primary) 80%, black 10%));
  color: var(--primary-contrast);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
  transition: transform --var(--transition), box-shadow var(--transition),
    opacity (var(--transition));
  white-space: nowrap;
  width: auto;
  height: 40px;
  margin-top: 4%;
  flex-shrink: 0;
}

.btn-send:hover {
  transform: translateY(-2px);
  animation: 2ms;
}

.btn-send:active {
  transform: translateY(4);
}

.btn-send:focus {
  outline: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  outline-offset: 1px;
}

.btn-send:disabled,
.send-input input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.input {
  justify-content: center;
  padding: 10px;
  text-align: justify;
  border-radius: 8px;
  border: 0;
  display: block;
  gap: 15px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.descricao {
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--primary);
  line-height: 1.4;
  text-align: center;
  font-weight: 600;
  font-size: 60px;
}

.card-spacing {
  height: 24px;
}

.input-box {
  width: 100%;
  height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.answer {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.txtarea-answer {
  width: 100%;
  height: 200px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  outline: none;
  box-sizing: border-box;
  resize: none;
  flex: 1;
}

.label-text {
  margin-bottom: 10px;
  font-weight: 400;
  align-items: center;
  justify-content: center;
}

.btn-copy svg {
  display: block;
}

.btn-send:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}