.elallas-lead {
  margin-bottom: 16px;
  width: 20rem;
  max-width: calc(100vw - 2rem);
  text-align: center;
}

.elallas-tetel-group,
.elallas-megjegyzes-group {
  width: 20rem;
  max-width: calc(100vw - 2rem);
}

.elallas-megjegyzes-group textarea {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.3em;
  margin: 0.8em 0;
  padding: 0.8em 1em;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 7rem;
}

.tetel-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.tetel-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tetel-row input {
  width: 100%;
  margin: 0;
}

.secondary,
.danger {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.3em;
  padding: 0.45em 0.8em;
  cursor: pointer;
  box-sizing: border-box;
}

.secondary,
.danger {
  width: auto;
  margin: 0.4em 0;
}

.elallas-tetel-group .secondary {
  width: 100%;
  margin-top: 0.4em;
  background: #d8f0dc;
  border-color: #89c698;
  color: #1d5b2a;
}

.tetel-row .danger {
  width: 100%;
  align-self: flex-end;
  background: #f8d7da;
  border-color: #db9aa0;
  color: #7c1f28;
}

.success {
  background: #e7f7ea;
  border: 1px solid #9ad2a4;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 12px;
  width: 20rem;
  box-sizing: border-box;
}

.alert {
  width: 20rem;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .elallas-tetel-group,
  .elallas-megjegyzes-group {
    width: 20rem;
    max-width: calc(100vw - 2rem);
  }

  .elallas-lead,
  .success,
  .alert {
    width: 20rem;
    max-width: calc(100vw - 2rem);
  }
}
