.add-machine-modal {
  width: min(940px, calc(100vw - 32px));
}

.add-machine-field--textarea {
  textarea {
    min-height: 124px;
    padding: 12px 14px;
    border: 1px solid var(--color-border-strong);
    border-radius: 14px;
    resize: vertical;
    background: var(--color-surface);
    outline: none;
    color: var(--color-text-strong);
    font: inherit;
    font-size: var(--font-size-15);

    &:focus {
      border-color: var(--color-primary);
      background: var(--color-surface);
      box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
    }

    &::placeholder {
      color: var(--gray50);
    }
  }
}
